fix rule editor env var
This commit is contained in:
parent
e271f5b2c2
commit
da97ca61d3
@ -17,7 +17,7 @@ async function bootstrap(appConfig: AppConfig, version: { FRONTEND_APP_VERSION:
|
||||
...appConfig,
|
||||
IS_DOCUMINE: bool(appConfig.IS_DOCUMINE),
|
||||
RULE_EDITOR_DEV_ONLY:
|
||||
typeof ruleEditorDevOnly === 'string' ? ruleEditorDevOnly.toLowerCase() === 'true' : ruleEditorDevOnly !== false,
|
||||
typeof ruleEditorDevOnly === 'string' ? ruleEditorDevOnly.toLowerCase() !== 'false' : ruleEditorDevOnly !== false,
|
||||
FRONTEND_APP_VERSION: version.FRONTEND_APP_VERSION,
|
||||
} as AppConfig;
|
||||
console.log('Started with local config: ', config);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user