From d94c1c308967423b97026eba8f6212a7bae14240 Mon Sep 17 00:00:00 2001 From: PotapovaA Date: Thu, 3 Sep 2026 13:01:23 +0300 Subject: [PATCH] fix --- web/src/conf/config.ts | 1 + web/src/index.jsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/conf/config.ts b/web/src/conf/config.ts index 8295821..40ededc 100644 --- a/web/src/conf/config.ts +++ b/web/src/conf/config.ts @@ -12,6 +12,7 @@ if (environment.APP_ENV === 'test') { // biome-ignore lint/complexity/noStaticOnlyClass: существующий публичный интерфейс конфигурации приложения. export class Config { static API_URL: string = env_var ?? environment.REACT_APP_API_URL ?? environment.REACT_APP_ROOT_PATH ?? ''; + static DEBUG = true; static KEYCLOAK_URL: string = environment.REACT_APP_KEYCLOAK_URL ?? ''; static REALM: string = environment.REACT_APP_REALM ?? ''; static CLIENT_ID: string = environment.REACT_APP_CLIENT_ID ?? ''; diff --git a/web/src/index.jsx b/web/src/index.jsx index d1605d8..940d408 100644 --- a/web/src/index.jsx +++ b/web/src/index.jsx @@ -37,7 +37,7 @@ const application = ( ); -const root = !process.env.DEBUG ? ( +const root = !Config.DEBUG ? (