From 4dc0bf9833bb4c8b3ad7504140e9bf9e02baf827 Mon Sep 17 00:00:00 2001 From: Hannes Hansen Date: Thu, 31 Aug 2023 10:45:42 +0200 Subject: [PATCH] added env variable to template for #SNRGY-2829 --- src/assets/env.template.js | 1 + src/assets/env.template.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/assets/env.template.js b/src/assets/env.template.js index 079e71cd..1108f645 100644 --- a/src/assets/env.template.js +++ b/src/assets/env.template.js @@ -23,3 +23,4 @@ window["env"]["keycloakUrl"] = "${KEYCLOACK_URL}"; window["env"]["configUrl"] = "${CONFIG_URL}"; window["env"]["theme"] = "${THEME}"; window["env"]["title"] = "${TITLE}"; +window["env"]["commit"] = "${COMMIT}"; diff --git a/src/assets/env.template.json b/src/assets/env.template.json index c5b620af..d50f426a 100644 --- a/src/assets/env.template.json +++ b/src/assets/env.template.json @@ -83,5 +83,6 @@ "kongAdminProxyUrl=${KONG_ADMIN_PROXY_URL}", "swaggerUrl=${SWAGGER_URL}", "timescaleRuleManagerUrl=${TIMESCALE_RULE_MANAGER_URL}", - "budgetApiUrl=${BUDGET_API_URL}" + "budgetApiUrl=${BUDGET_API_URL}", + "commit=${COMMIT}" ]