Skip to content

Commit

Permalink
feat: MA-3752 add SHOW_MANDATED_ACCOUNTS flag (#3773)
Browse files Browse the repository at this point in the history
* feat: mA-3752 feat: add SHOW_MANDATED_ACCOUNTS flag

* fix: add feature flag to bloom public next config

* fix: remove flag from partners
  • Loading branch information
cade-exygy authored Dec 14, 2023
1 parent 48cb352 commit eb977d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sites/public/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ SENTRY_ORG=

# this GTM key is for local development only
GTM_KEY=GTM-KF22FJP

# feature toggles
SHOW_MANDATED_ACCOUNTS=FALSE
1 change: 1 addition & 0 deletions sites/public/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ module.exports = withBundleAnalyzer({
jurisdictionName: process.env.JURISDICTION_NAME,
cacheRevalidate: process.env.CACHE_REVALIDATE ? Number(process.env.CACHE_REVALIDATE) : 60,
cloudinaryCloudName: process.env.CLOUDINARY_CLOUD_NAME,
showMandatedAccounts: process.env.SHOW_MANDATED_ACCOUNTS === "TRUE",
},
i18n: {
locales: process.env.LANGUAGES ? process.env.LANGUAGES.split(",") : ["en"],
Expand Down

0 comments on commit eb977d5

Please sign in to comment.