chore: add back admin redirect, thanks Jarrod

This commit is contained in:
Alessio Gravili
2024-03-04 11:58:23 -05:00
parent a90b7a65de
commit 55529eb493

View File

@@ -6,5 +6,14 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
module.exports = withBundleAnalyzer(
withPayload({
reactStrictMode: false,
async redirects() {
return [
{
destination: '/admin',
permanent: true,
source: '/',
},
]
},
}),
)