Yuyuqt commited on
Commit
4a4c924
·
1 Parent(s): bdc59fe

fix: move vercel.json to wwwroot for SPA routing.

Browse files
BlazorWebAssembly/vercel.json DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "rewrites": [
3
- {
4
- "source": "/(.*)",
5
- "destination": "/index.html"
6
- }
7
- ]
8
- }
 
 
 
 
 
 
 
 
 
BlazorWebAssembly/wwwroot/vercel.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cleanUrls": true,
3
+ "routes": [
4
+ { "handle": "filesystem" },
5
+ {
6
+ "src": "/.*",
7
+ "dest": "/index.html"
8
+ }
9
+ ]
10
+ }