Skip to content

Commit 3248024

Browse files
change rewrites to legacy routes in vercel.json to prevent unintended static assets exposure
1 parent a61b19f commit 3248024

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vercel.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"rewrites": [
2+
"routes": [
33
{
4-
"source": "/(.*)",
5-
"destination": "/api/vercel_function"
4+
"src": "/(.*)",
5+
"dest": "/api/vercel_function"
66
}
77
]
88
}

0 commit comments

Comments
 (0)