From 4e808cfcbebc17207d06fd0529615eb661b585de Mon Sep 17 00:00:00 2001 From: David Sanchez Date: Tue, 3 Dec 2024 09:49:11 +0100 Subject: [PATCH] private page disabled --- conanio/.env.production | 2 +- conanio/next.config.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/conanio/.env.production b/conanio/.env.production index d3f159b..fb3c695 100644 --- a/conanio/.env.production +++ b/conanio/.env.production @@ -1,4 +1,4 @@ CONANIO_SERVER=http://conanio-server:5000 -CONANIO_AUTH_SERVER=http://conanio-auth-server:5000 +# CONANIO_AUTH_SERVER=http://conanio-auth-server:5000 GTM_ID=GTM-WK44ZFM GTM_URL=https://www.googletagmanager.com/gtm.js diff --git a/conanio/next.config.js b/conanio/next.config.js index ecd7f92..6df0f93 100644 --- a/conanio/next.config.js +++ b/conanio/next.config.js @@ -20,6 +20,12 @@ const nextConfig = { destination: '/center/recipes/:recipe', permanent: true, }, + { + source: '/private/:page*', + basePath: false, + destination: '/', + permanent: false, + }, ] }, }