fix: add vercel.json for explicit API and SPA routing

This commit is contained in:
Christian Vidal Wolf
2026-01-16 11:13:23 +01:00
parent 3a689ddb13
commit 15b44d4d91
+12
View File
@@ -0,0 +1,12 @@
{
"rewrites": [
{
"source": "/api/(.*)",
"destination": "/api/$1"
},
{
"source": "/(.*)",
"destination": "/index.html"
}
]
}