Add vercel.json: static SPA routing for Vercel deployment

This commit is contained in:
2026-06-15 22:42:23 +00:00
parent e116debe07
commit b179514084
+17
View File
@@ -0,0 +1,17 @@
{
"cleanUrls": true,
"trailingSlash": false,
"rewrites": [
{ "source": "/(.*)", "destination": "/index.html" }
],
"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" }
]
}
]
}