From 7bd91ebb7f93c250a53dfd3caad12aaffb8d232f Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 7 Sep 2023 16:25:13 +0200 Subject: [PATCH] Fix --- packages/worker/src/api/controllers/system/environment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/worker/src/api/controllers/system/environment.ts b/packages/worker/src/api/controllers/system/environment.ts index a63533e1bb..ade5f241e2 100644 --- a/packages/worker/src/api/controllers/system/environment.ts +++ b/packages/worker/src/api/controllers/system/environment.ts @@ -10,6 +10,6 @@ export const fetch = async (ctx: Ctx) => { accountPortalUrl: env.ACCOUNT_PORTAL_URL, disableAccountPortal: env.DISABLE_ACCOUNT_PORTAL, baseUrl: env.PLATFORM_URL, - isDev: env.isDev(), + isDev: env.isDev() && !env.isTest(), } }