Skip to content

Commit 88068b0

Browse files
committed
web(vercel): serve static assets before SPA fallback (filesystem handle); fixes manifest.json returning index.html
1 parent 8bd5d14 commit 88068b0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

mobile/vercel.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"version": 2,
33
"outputDirectory": "build/web",
4-
"routes": [{ "src": "/(.*)", "dest": "/index.html" }],
4+
"routes": [
5+
{ "handle": "filesystem" },
6+
{ "src": "/(.*)", "dest": "/index.html" }
7+
],
58
"buildCommand": "npm run build",
69
"installCommand": "npm install",
710
"framework": null

0 commit comments

Comments
 (0)