diff --git a/app/[lang]/(live)/(public)/[contentType]/[uid]/page.tsx b/app/[lang]/(live)/(public)/[contentType]/[uid]/page.tsx index ba5181c3d..176dc48c0 100644 --- a/app/[lang]/(live)/(public)/[contentType]/[uid]/page.tsx +++ b/app/[lang]/(live)/(public)/[contentType]/[uid]/page.tsx @@ -38,17 +38,9 @@ export default async function ContentTypePage({ case PageContentTypeEnum.collectionPage: return case PageContentTypeEnum.contentPage: { - const isSignupRoute = isSignupPage(pathname) - - if (env.HIDE_FOR_NEXT_RELEASE) { - // Hide content pages for next release for non-signup routes. - if (!isSignupRoute) { - return notFound() - } - } - + // Hide content pages for signup routes when signup flow is disabled. if (!env.SHOW_SIGNUP_FLOW) { - // Hide content pages for signup routes when signup flow is disabled. + const isSignupRoute = isSignupPage(pathname) if (isSignupRoute) { return notFound() }