diff --git a/apps/scandic-web/app/[lang]/(live)/(public)/[contentType]/[uid]/page.tsx b/apps/scandic-web/app/[lang]/(live)/(public)/[contentType]/[uid]/page.tsx index 8c5552988..a4dbf7231 100644 --- a/apps/scandic-web/app/[lang]/(live)/(public)/[contentType]/[uid]/page.tsx +++ b/apps/scandic-web/app/[lang]/(live)/(public)/[contentType]/[uid]/page.tsx @@ -63,14 +63,23 @@ export default async function ContentTypePage({ case PageContentTypeEnum.loyaltyPage: return case PageContentTypeEnum.destinationOverviewPage: + if (env.HIDE_FOR_NEXT_RELEASE) { + return notFound() + } return case PageContentTypeEnum.destinationCountryPage: + if (env.HIDE_FOR_NEXT_RELEASE) { + return notFound() + } return ( }> ) case PageContentTypeEnum.destinationCityPage: + if (env.HIDE_FOR_NEXT_RELEASE) { + return notFound() + } return ( }>