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 ? (