Skip to content

Commit 6f3fa32

Browse files
committed
added redirects for root
1 parent a2b7490 commit 6f3fa32

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

next.config.mjs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ const nextConfig = {
1010
destination: "https://carmel-app-:id.vercel.app/app/:id/:path*"
1111
},
1212
{
13-
source: "/app/:id([a-z0-9_-]+)/",
14-
destination: "https://carmel-app-:id.vercel.app/app/:id/"
13+
source: "/app/:id([a-z0-9_-]+)",
14+
destination: "https://carmel-app-:id.vercel.app/app/:id/home"
1515
}
16-
1716
]
1817
},
1918
pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'],

0 commit comments

Comments
 (0)