1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-08 01:15:49 +02:00

feat: default the frontend api flags to on (#2573)

* This PR turns on the flag for the frontendApi to be on by default. We
should still be able to override them from the unleash-cloud
distribution.
This commit is contained in:
Fredrik Strand Oseberg 2022-11-30 13:33:07 +01:00 committed by GitHub
parent 65851ba51c
commit dacaaa51b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -72,8 +72,8 @@ exports[`should create default config 1`] = `
"batchMetrics": false,
"changeRequests": false,
"cloneEnvironment": false,
"embedProxy": false,
"embedProxyFrontend": false,
"embedProxy": true,
"embedProxyFrontend": true,
"favorites": false,
"networkView": false,
"proxyReturnAllToggles": false,
@ -91,8 +91,8 @@ exports[`should create default config 1`] = `
"batchMetrics": false,
"changeRequests": false,
"cloneEnvironment": false,
"embedProxy": false,
"embedProxyFrontend": false,
"embedProxy": true,
"embedProxyFrontend": true,
"favorites": false,
"networkView": false,
"proxyReturnAllToggles": false,

View File

@ -8,7 +8,7 @@ export const defaultExperimentalOptions = {
anonymiseEventLog: false,
embedProxy: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_EMBED_PROXY,
false,
true,
),
changeRequests: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_CHANGE_REQUESTS,
@ -20,7 +20,7 @@ export const defaultExperimentalOptions = {
),
embedProxyFrontend: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_EMBED_PROXY_FRONTEND,
false,
true,
),
batchMetrics: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_BATCH_METRICS,