We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7146ca commit db3f91fCopy full SHA for db3f91f
frontends/main/next.config.js
@@ -15,7 +15,7 @@ const processFeatureFlags = () => {
15
for (const [key, value] of Object.entries(process.env)) {
16
if (key.startsWith(`NEXT_PUBLIC_${featureFlagPrefix}`)) {
17
bootstrapFeatureFlags[
18
- key.replace(`NEXT_PUBLIC_${featureFlagPrefix}`, "")
+ key.replace(`NEXT_PUBLIC_${featureFlagPrefix}`, "").replaceAll("_", "-")
19
] = value === "True" ? true : JSON.stringify(value)
20
}
21
0 commit comments