Skip to content

Commit 826a8e5

Browse files
committed
switch to rewrites SPA fallback to fix 404 on /guides and /examples
1 parent 2fd5dfb commit 826a8e5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

vercel.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
}
1010
}
1111
],
12-
"routes": [
13-
{ "handle": "filesystem" },
14-
{ "src": "/(.*)", "dest": "/index.html" }
12+
"cleanUrls": true,
13+
"trailingSlash": false,
14+
"rewrites": [
15+
{ "source": "/(.*)", "destination": "/index.html" }
1516
]
1617
}

0 commit comments

Comments
 (0)