fix(api3): restore /test endpoint for both development and test environments

PR #8465 replaced 'development' with 'test' instead of adding it,
breaking the /test endpoint when NODE_ENV=development.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Ben West
2026-04-19 12:35:32 -07:00
co-authored by Copilot
parent d7412acaf2
commit e35e7104bb
+1 -1
View File
@@ -77,7 +77,7 @@ function configure (env, ctx) {
app.get('/version', require('./specific/version')(app, ctx, env));
if (app.get('env') === 'test' || app.get('ci')) { // for development and testing purposes only
if (app.get('env') === 'development' || app.get('env') === 'test' || app.get('ci')) { // for development and testing purposes only
app.get('/test', async function test (req, res) {
try {