Revert "disable admin login"

This reverts commit eb15f4b29c.
This commit is contained in:
Thomas Ruoff
2024-09-10 23:44:24 +02:00
parent 32818b7492
commit c671b622d5
3 changed files with 44 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
import { withAxiom } from 'next-axiom'
import createMDX from '@next/mdx'
/** @type {import('next').NextConfig} */
const nextConfig = {
swcMinify: true,
@@ -9,15 +9,15 @@ const nextConfig = {
// Optionally, add any other Next.js config below
async redirects() {
return [
// {
// source: '/admin',
// destination: '/nope',
// permanent: true,
// },
// {
// source: '/admin',
// destination: '/nope',
// permanent: true,
// },
]
},
}
const withMDX = createMDX({
// Add markdown plugins here, as desired
options: {
@@ -25,6 +25,6 @@ const withMDX = createMDX({
rehypePlugins: [],
},
})
// Merge MDX config with Next.js config
export default withMDX(nextConfig)
export default withMDX(nextConfig)