mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-10-02 13:05:28 +02:00
fix: add vercel.json for explicit API and SPA routing
This commit is contained in:
1 parent
3a689ddb13
commit
15b44d4d91
1 file changed
+12
+12
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"rewrites": [
|
||||||
|
{
|
||||||
|
"source": "/api/(.*)",
|
||||||
|
"destination": "/api/$1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/(.*)",
|
||||||
|
"destination": "/index.html"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in new issue
Block a user