mirror of
https://github.com/dergigi/boris.git
synced 2026-01-31 04:34:39 +01:00
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:
9
vercel.json
Normal file
9
vercel.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"rewrites": [
|
||||
{
|
||||
"source": "/(.*)",
|
||||
"destination": "/index.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user