mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
disable admin login
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user