diff --git a/frontends/main/next.config.js b/frontends/main/next.config.js index 240d63e645..5dc44cefb3 100644 --- a/frontends/main/next.config.js +++ b/frontends/main/next.config.js @@ -15,7 +15,7 @@ const processFeatureFlags = () => { for (const [key, value] of Object.entries(process.env)) { if (key.startsWith(`NEXT_PUBLIC_${featureFlagPrefix}`)) { bootstrapFeatureFlags[ - key.replace(`NEXT_PUBLIC_${featureFlagPrefix}`, "") + key.replace(`NEXT_PUBLIC_${featureFlagPrefix}`, "").replaceAll("_", "-") ] = value === "True" ? true : JSON.stringify(value) } }