mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
feat: project mode flag (#3336)
This commit is contained in:
parent
ee1c93bca1
commit
0797e2849f
@ -82,6 +82,7 @@ exports[`should create default config 1`] = `
|
|||||||
"newProjectOverview": false,
|
"newProjectOverview": false,
|
||||||
"notifications": false,
|
"notifications": false,
|
||||||
"proPlanAutoCharge": false,
|
"proPlanAutoCharge": false,
|
||||||
|
"projectMode": false,
|
||||||
"projectScopedSegments": false,
|
"projectScopedSegments": false,
|
||||||
"projectScopedStickiness": false,
|
"projectScopedStickiness": false,
|
||||||
"projectStatusApi": false,
|
"projectStatusApi": false,
|
||||||
@ -107,6 +108,7 @@ exports[`should create default config 1`] = `
|
|||||||
"newProjectOverview": false,
|
"newProjectOverview": false,
|
||||||
"notifications": false,
|
"notifications": false,
|
||||||
"proPlanAutoCharge": false,
|
"proPlanAutoCharge": false,
|
||||||
|
"projectMode": false,
|
||||||
"projectScopedSegments": false,
|
"projectScopedSegments": false,
|
||||||
"projectScopedStickiness": false,
|
"projectScopedStickiness": false,
|
||||||
"projectStatusApi": false,
|
"projectStatusApi": false,
|
||||||
|
@ -72,6 +72,7 @@ const flags = {
|
|||||||
process.env.PROJECT_SCOPED_STICKINESS,
|
process.env.PROJECT_SCOPED_STICKINESS,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
projectMode: parseEnvVarBoolean(process.env.PROJECT_MODE, false),
|
||||||
cleanClientApi: parseEnvVarBoolean(process.env.CLEAN_CLIENT_API, false),
|
cleanClientApi: parseEnvVarBoolean(process.env.CLEAN_CLIENT_API, false),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user