1
0
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:
Mateusz Kwasniewski 2023-03-16 16:27:08 +01:00 committed by GitHub
parent ee1c93bca1
commit 0797e2849f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,7 @@ exports[`should create default config 1`] = `
"newProjectOverview": false,
"notifications": false,
"proPlanAutoCharge": false,
"projectMode": false,
"projectScopedSegments": false,
"projectScopedStickiness": false,
"projectStatusApi": false,
@ -107,6 +108,7 @@ exports[`should create default config 1`] = `
"newProjectOverview": false,
"notifications": false,
"proPlanAutoCharge": false,
"projectMode": false,
"projectScopedSegments": false,
"projectScopedStickiness": false,
"projectStatusApi": false,

View File

@ -72,6 +72,7 @@ const flags = {
process.env.PROJECT_SCOPED_STICKINESS,
false,
),
projectMode: parseEnvVarBoolean(process.env.PROJECT_MODE, false),
cleanClientApi: parseEnvVarBoolean(process.env.CLEAN_CLIENT_API, false),
};