refactor: set token from query params

This commit is contained in:
Carlos Valente
2025-01-16 21:41:16 +01:00
committed by Carlos Valente
parent 7fe5223af9
commit 0450eb9169
3 changed files with 25 additions and 33 deletions
+2
View File
@@ -15,6 +15,8 @@ export const environment = isTest ? 'test' : env;
export const isDocker = env === 'docker';
export const isProduction = isDocker || (env === 'production' && !isTest);
export const isOntimeCloud = Boolean(process.env.IS_CLOUD);
export const password = process.env.SESSION_PASSWORD;
/**
* Updates the router prefix in the index.html file
* This is only needed in the cloud environment where the client is not at the root segment