disable maintenance

This commit is contained in:
jejolare 2025-09-14 18:31:52 +07:00
parent d7b1dad009
commit b5affb116c

View file

@ -3,16 +3,16 @@ const nextConfig = {
reactStrictMode: true,
async redirects() {
return [
// {
// source: '/',
// destination: '/dex',
// permanent: false,
// },
{
source: '/((?!maintenance).*)', // Match everything except "/maintenance"
destination: '/maintenance',
source: '/',
destination: '/dex',
permanent: false,
},
// {
// source: '/((?!maintenance).*)', // Match everything except "/maintenance"
// destination: '/maintenance',
// permanent: false,
// },
];
},
webpack: (config) => {