fix: adding redirect rules to old signup page

This commit is contained in:
sriram veeraghanta 2024-05-21 13:43:54 +05:30
parent f77761b4f9
commit e2ac60e259

View File

@ -30,6 +30,15 @@ const nextConfig = {
], ],
unoptimized: true, unoptimized: true,
}, },
async redirects() {
return [
{
source: "/accounts/sign-up",
destination: "/",
permanent: true
}
]
},
async rewrites() { async rewrites() {
const rewrites = [ const rewrites = [
{ {