From b1795140841666c59d535f633c3b06c9dc512ecc Mon Sep 17 00:00:00 2001 From: khondokar Date: Mon, 15 Jun 2026 22:42:23 +0000 Subject: [PATCH] Add vercel.json: static SPA routing for Vercel deployment --- vercel.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..c9e9af2 --- /dev/null +++ b/vercel.json @@ -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" } + ] + } + ] +}