disable maintenance

This commit is contained in:
jejolare 2025-09-14 17:22:13 +07:00
parent 52c02a14bc
commit 519fbfac47

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) => {