Skip to content

Commit

Permalink
chore: enable concept-catalog-frontend for staging and demo
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreiffers committed Oct 27, 2023
1 parent 286db13 commit 536ea4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ const config = {
host: env.CATALOG_COMMENTS_SERVICE_HOST
},
conceptCatalogFrontendBaseUri: env.CONCEPT_CATALOG_FRONTEND_BASE_URI,
enableConceptCatalogFrontend: window.location.hostname.includes('staging'),
enableConceptCatalogFrontend: ['staging', 'demo'].some(environment =>
window.location.hostname.includes(environment)
),
catalogAdminServiceBaseUri: env.CATALOG_ADMIN_SERVICE_BASE_URI,
useDemoLogo: env.USE_DEMO_LOGO
};
Expand Down

0 comments on commit 536ea4f

Please sign in to comment.