Skip to content

Commit

Permalink
Merge branch 'mf-build-docker' into mf-nabeel
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeelmd-eGov authored Feb 28, 2024
2 parents 2fe5341 + 089ab78 commit d71567f
Showing 1 changed file with 51 additions and 50 deletions.
101 changes: 51 additions & 50 deletions micro-ui/web/packages/core/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,61 +2,62 @@
<html lang="en">

<head>
<base href="/" />
<title>Core Page</title>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<script src="https://s3.ap-south-1.amazonaws.com/egov-dev-assets/globalConfigsWorkbench.js"></script>
<script>
var globalConfigs = (function () {
var contextPath = "workbench-ui";
var stateTenantId = "pg";
var gmaps_api_key = "AIzaSyAASfCFja6YxwDzEAzhHFc8B-17TNTCV0g";
var configModuleName = "commonUiConfig";
var centralInstanceEnabled = false;
var localeRegion = "IN";
var localeDefault = "en";
var mdmsContext = "mdms-v2";
var footerBWLogoURL =
"https://unified-dev.digit.org/egov-dev-assets/digit-footer-bw.png";
var footerLogoURL =
"https://unified-dev.digit.org/egov-dev-assets/digit-footer.png";
var digitHomeURL = "https://www.digit.org/";
var assetS3Bucket = "egov-dev-assets";
var invalidEmployeeRoles = ["CBO_ADMIN", "ORG_ADMIN", "ORG_STAFF", "SYSTEM"];
var globalConfigs = (function () {
var contextPath = "workbench-ui";
var stateTenantId = "pg";
var gmaps_api_key = "AIzaSyAASfCFja6YxwDzEAzhHFc8B-17TNTCV0g";
var configModuleName = "commonUiConfig";
var centralInstanceEnabled = false;
var localeRegion = "IN";
var localeDefault = "en";
var mdmsContext = "mdms-v2";
var footerBWLogoURL =
"https://unified-dev.digit.org/egov-dev-assets/digit-footer-bw.png";
var footerLogoURL =
"https://unified-dev.digit.org/egov-dev-assets/digit-footer.png";
var digitHomeURL = "https://www.digit.org/";
var assetS3Bucket = "egov-dev-assets";
var invalidEmployeeRoles = ["CBO_ADMIN", "ORG_ADMIN", "ORG_STAFF", "SYSTEM"];

var getConfig = function (key) {
if (key === "STATE_LEVEL_TENANT_ID") {
return stateTenantId;
} else if (key === "GMAPS_API_KEY") {
return gmaps_api_key;
} else if (key === "ENABLE_SINGLEINSTANCE") {
return centralInstanceEnabled;
} else if (key === "DIGIT_FOOTER_BW") {
return footerBWLogoURL;
} else if (key === "DIGIT_FOOTER") {
return footerLogoURL;
} else if (key === "DIGIT_HOME_URL") {
return digitHomeURL;
} else if (key === "S3BUCKET") {
return assetS3Bucket;
} else if (key === "CONTEXT_PATH") {
return contextPath;
} else if (key === "UICONFIG_MODULENAME") {
return configModuleName;
} else if (key === "LOCALE_REGION") {
return localeRegion;
} else if (key === "LOCALE_DEFAULT") {
return localeDefault;
} else if (key === "MDMS_CONTEXT_PATH") {
return mdmsContext;
} else if (key === "INVALIDROLES") {
return invalidEmployeeRoles;
}
};
var getConfig = function (key) {
if (key === "STATE_LEVEL_TENANT_ID") {
return stateTenantId;
} else if (key === "GMAPS_API_KEY") {
return gmaps_api_key;
} else if (key === "ENABLE_SINGLEINSTANCE") {
return centralInstanceEnabled;
} else if (key === "DIGIT_FOOTER_BW") {
return footerBWLogoURL;
} else if (key === "DIGIT_FOOTER") {
return footerLogoURL;
} else if (key === "DIGIT_HOME_URL") {
return digitHomeURL;
} else if (key === "S3BUCKET") {
return assetS3Bucket;
} else if (key === "CONTEXT_PATH") {
return contextPath;
} else if (key === "UICONFIG_MODULENAME") {
return configModuleName;
} else if (key === "LOCALE_REGION") {
return localeRegion;
} else if (key === "LOCALE_DEFAULT") {
return localeDefault;
} else if (key === "MDMS_CONTEXT_PATH") {
return mdmsContext;
} else if (key === "INVALIDROLES") {
return invalidEmployeeRoles;
}
};

return {
getConfig,
};
})();
return {
getConfig,
};
})();
</script>
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css" />

Expand Down Expand Up @@ -104,7 +105,7 @@

<body>
<div id="root"></div>

</body>

</html>

0 comments on commit d71567f

Please sign in to comment.