fix: add vercel.json to handle SPA routing on Vercel

Without this configuration, page refreshes result in 404 errors because
Vercel tries to serve non-existent files instead of routing through
index.html for client-side routing.
This commit is contained in:
Gigi
2025-10-10 16:22:33 +01:00
parent 39ada734d5
commit 133e4756b2

9
vercel.json Normal file
View File

@@ -0,0 +1,9 @@
{
"rewrites": [
{
"source": "/(.*)",
"destination": "/index.html"
}
]
}