We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeb6f4a commit c93cabfCopy full SHA for c93cabf
vercel.json
@@ -5,10 +5,9 @@
5
{ "src": "api/*.rs", "use": "@vercel/rust" },
6
{ "src": "www/**", "use": "@vercel/static" }
7
],
8
- "routes": [
9
- { "src": "/api/(.*)", "dest": "/api/$1.rs" },
10
- { "handle": "filesystem" },
11
- { "src": "/", "dest": "/www/index.html" },
12
- { "src": "/(.*)", "dest": "/www/$1" }
+ "rewrites": [
+ { "source": "/api/:path*", "destination": "/api/:path*.rs" },
+ { "source": "/", "destination": "/www/index.html" },
+ { "source": "/:path*", "destination": "/www/:path*" }
13
]
14
}
0 commit comments