Skip to content

Commit

Permalink
private page disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsanfal committed Dec 26, 2024
1 parent f40caef commit 4e808cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conanio/.env.production
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions conanio/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ const nextConfig = {
destination: '/center/recipes/:recipe',
permanent: true,
},
{
source: '/private/:page*',
basePath: false,
destination: '/',
permanent: false,
},
]
},
}
Expand Down

0 comments on commit 4e808cf

Please sign in to comment.