Add Vercel SPA rewrites to serve index.html and use custom 404

cgen-683301d36af143ca9b13b78938070c8e
This commit is contained in:
Builder.io 2025-10-18 01:27:04 +00:00
parent 53f98299e0
commit 13c04f8b2e

6
vercel.json Normal file
View file

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