diff --git a/apps/red-ui/src/main.ts b/apps/red-ui/src/main.ts index 5f203e255..06db7e505 100644 --- a/apps/red-ui/src/main.ts +++ b/apps/red-ui/src/main.ts @@ -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);