mirror of
https://github.com/mempool/mempool.git
synced 2025-02-22 06:21:46 +01:00
Change template keys in generate-config script
This commit is contained in:
parent
81d35d9401
commit
b77fe0dca2
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ const newConfig = `(function (window) {
|
|||
|
||||
const newConfigTemplate = `(function (window) {
|
||||
window.__env = window.__env || {};${settings.reduce((str, obj) => `${str}
|
||||
window.__env.${obj.key} = ${typeof obj.value === 'string' ? `'\${${obj.key}}'` : `\${${obj.key}}`};`, '')}
|
||||
window.__env.${obj.key} = ${typeof obj.value === 'string' ? `'\${__${obj.key}__}'` : `\${__${obj.key}__}`};`, '')}
|
||||
window.__env.GIT_COMMIT_HASH = '${gitCommitHash}';
|
||||
window.__env.PACKAGE_JSON_VERSION = '${packetJsonVersion}';
|
||||
}(this));`;
|
||||
|
|
Loading…
Add table
Reference in a new issue