Make v1 independent: revert cross rewrites, add v1/vercel.json

This commit is contained in:
seven
2026-06-28 10:24:10 +08:00
parent 7996962b2f
commit ed1c4178c9

17
v1/vercel.json Normal file
View File

@@ -0,0 +1,17 @@
{
"cleanUrls": true,
"trailingSlash": false,
"rewrites": [
{ "source": "/", "destination": "/services" }
],
"headers": [
{
"source": "/(.*)",
"headers": [
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "X-Frame-Options", "value": "SAMEORIGIN" },
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" }
]
}
]
}