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, "batchMetrics": false,
"changeRequests": false, "changeRequests": false,
"cloneEnvironment": false, "cloneEnvironment": false,
"embedProxy": false, "embedProxy": true,
"embedProxyFrontend": false, "embedProxyFrontend": true,
"favorites": false, "favorites": false,
"networkView": false, "networkView": false,
"proxyReturnAllToggles": false, "proxyReturnAllToggles": false,
@ -91,8 +91,8 @@ exports[`should create default config 1`] = `
"batchMetrics": false, "batchMetrics": false,
"changeRequests": false, "changeRequests": false,
"cloneEnvironment": false, "cloneEnvironment": false,
"embedProxy": false, "embedProxy": true,
"embedProxyFrontend": false, "embedProxyFrontend": true,
"favorites": false, "favorites": false,
"networkView": false, "networkView": false,
"proxyReturnAllToggles": false, "proxyReturnAllToggles": false,

View File

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