Skip to content

Commit bef668d

Browse files
committed
feat: change rewrite order
1 parent acc7d3b commit bef668d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/social-polling/next.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ const nextConfig = {
2222
},
2323
async rewrites() {
2424
return [
25-
{
26-
source: "/:path*",
27-
destination: "/:path*",
28-
},
2925
{
3026
source: "/gift",
3127
destination: giftingConciergeURL,
@@ -42,6 +38,10 @@ const nextConfig = {
4238
source: "/giftshop/:path*",
4339
destination: `${giftingConciergeURL}/giftshop/:path*`,
4440
},
41+
{
42+
source: "/:path*",
43+
destination: "/:path*",
44+
},
4545
]
4646
}
4747
};

0 commit comments

Comments
 (0)