diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-03-27 13:15:13 +0100 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-03-27 13:15:13 +0100 |
commit | a1ac8b74efe5c65ba1514f3e5fd4bb8bec690fd1 (patch) | |
tree | b2306f3674d51149ab547eed288f8dc32d6d4912 /src/assets | |
parent | 5e149c7ae0124460d3024430f1c0bdc94c74f56e (diff) |
Make ui logging configurable
- introduce LOGGING_ENABLED environment variable that can be set to enable the ui logging
Issue-ID: PORTALNG-81
Change-Id: Icb540020bf18e030e3b02fa27f66eb5982a2bf31
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'src/assets')
-rw-r--r-- | src/assets/env.js | 3 | ||||
-rw-r--r-- | src/assets/env.template.js | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/assets/env.js b/src/assets/env.js index 154ed3b..ba1920a 100644 --- a/src/assets/env.js +++ b/src/assets/env.js @@ -3,8 +3,9 @@ window["env"]["keycloak"] = window["env"]["keycloak"] || {}; // Environment variables - window["env"]["customStyleEnabled"]; window["env"]["keycloak"]["hostname"]; window["env"]["keycloak"]["realm"]; window["env"]["keycloak"]["clientId"]; + window["env"]["customStyleEnabled"]; + window["env"]["loggingEnabled"] })(this); diff --git a/src/assets/env.template.js b/src/assets/env.template.js index 037014b..66dcee7 100644 --- a/src/assets/env.template.js +++ b/src/assets/env.template.js @@ -3,8 +3,9 @@ window["env"]["keycloak"] = window["env"]["keycloak"] || {}; // Environment variables - window["env"]["customStyleEnabled"] = "${CUSTOM_STYLE_ENABLED}"; window["env"]["keycloak"]["hostname"] = "${KEYCLOAK_HOSTNAME}"; window["env"]["keycloak"]["realm"] = "${KEYCLOAK_REALM}"; window["env"]["keycloak"]["clientId"] = "${KEYCLOAK_CLIENT_ID}"; + window["env"]["customStyleEnabled"] = "${CUSTOM_STYLE_ENABLED}"; + window["env"]["loggingEnabled"] = "${LOGGING_ENABLED}"; })(this); |