From 536ea4f4e5ebb7b36dbfad51bd9bbb53d857a375 Mon Sep 17 00:00:00 2001 From: Jeff Reiffers Date: Fri, 27 Oct 2023 10:12:55 +0200 Subject: [PATCH] chore: enable concept-catalog-frontend for staging and demo --- src/config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index 9a24174b..2b3cf72c 100644 --- a/src/config.ts +++ b/src/config.ts @@ -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 };