diff --git a/apps/store/.env.local.example b/apps/store/.env.local.example index eb2bffcdb5..743057266d 100644 --- a/apps/store/.env.local.example +++ b/apps/store/.env.local.example @@ -40,7 +40,6 @@ NEXT_PUBLIC_FEATURE_INSURELY= NEXT_PUBLIC_FEATURE_ENGLISH_LANGUAGE=true NEXT_PUBLIC_FEATURE_COUNTRY_SELECTOR=true NEXT_PUBLIC_FEATURE_SAS_PARTNERSHIP=true -NEXT_PUBLIC_FEATURE_HOMECOMING=true # Vercel Edge Config Connection String (https://github.com/vercel/edge-config) EDGE_CONFIG= diff --git a/apps/store/next.config.js b/apps/store/next.config.js index f66f20a7c7..22600d387a 100644 --- a/apps/store/next.config.js +++ b/apps/store/next.config.js @@ -96,22 +96,20 @@ module.exports = withBundleAnalyzer({ async redirects() { const locales = ['no', 'no-en', 'dk', 'dk-en'] - return process.env.NEXT_PUBLIC_FEATURE_HOMECOMING === 'true' - ? [ - ...locales.map((locale) => ({ - source: `/${locale}/new-member`, - destination: `/${locale}/info`, - permanent: true, - locale: false, - })), - ...locales.map((locale) => ({ - source: `/${locale}/new-member/offer/:slug*`, - destination: `/${locale}/info`, - permanent: true, - locale: false, - })), - ] - : [] + return [ + ...locales.map((locale) => ({ + source: `/${locale}/new-member`, + destination: `/${locale}/info`, + permanent: true, + locale: false, + })), + ...locales.map((locale) => ({ + source: `/${locale}/new-member/offer/:slug*`, + destination: `/${locale}/info`, + permanent: true, + locale: false, + })), + ] }, })