disable admin login

This commit is contained in:
Thomas Ruoff
2024-03-13 23:48:05 +01:00
parent 0486b99b3e
commit eb15f4b29c
3 changed files with 17 additions and 35 deletions

View File

@@ -7,6 +7,15 @@ const nextConfig = {
// Configure `pageExtensions`` to include MDX files
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
// Optionally, add any other Next.js config below
async redirects() {
return [
{
source: '/admin',
destination: '/nope',
permanent: true,
},
]
},
}
const withMDX = createMDX({