feature flags

This commit is contained in:
2026-01-07 22:05:53 +01:00
parent 1b63fa646c
commit 606b64cec7
530 changed files with 2092 additions and 2943 deletions

View File

@@ -28,7 +28,7 @@ export const CoreModule = new ContainerModule((options) => {
})
.inSingletonScope();
// Config
bind<string>(CONFIG_TOKEN)
.toConstantValue(getWebsiteApiBaseUrl());
// Config - bind as function to read env at runtime
bind<() => string>(CONFIG_TOKEN)
.toDynamicValue(() => () => getWebsiteApiBaseUrl());
});