feat: add curriculum feature flag (#44441)
This commit is contained in:
committed by
GitHub
parent
88524556e7
commit
dd2ff1683c
@ -31,7 +31,8 @@ const {
|
||||
PAYPAL_CLIENT_ID: paypalClientId,
|
||||
PATREON_CLIENT_ID: patreonClientId,
|
||||
DEPLOYMENT_ENV: deploymentEnv,
|
||||
SHOW_UPCOMING_CHANGES: showUpcomingChanges
|
||||
SHOW_UPCOMING_CHANGES: showUpcomingChanges,
|
||||
SHOW_NEW_CURRICULUM: showNewCurriculum
|
||||
} = process.env;
|
||||
|
||||
const locations = {
|
||||
@ -70,5 +71,6 @@ module.exports = Object.assign(locations, {
|
||||
!patreonClientId || patreonClientId === 'id_from_patreon_dashboard'
|
||||
? null
|
||||
: patreonClientId,
|
||||
showUpcomingChanges: showUpcomingChanges === 'true'
|
||||
showUpcomingChanges: showUpcomingChanges === 'true',
|
||||
showNewCurriculum: showNewCurriculum === 'true'
|
||||
});
|
||||
|
Reference in New Issue
Block a user