We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd27880 commit 9d9f447Copy full SHA for 9d9f447
2 files changed
api/index.js
vercel.json
@@ -1,12 +1,8 @@
1
{
2
- "version": 2,
3
- "builds": [
4
- { "src": "api/index.js", "use": "@vercel/node" },
5
- { "src": "public/**/*", "use": "@vercel/static" }
6
- ],
7
- "routes": [
8
- { "src": "/api/(.*)", "dest": "/api/index.js" },
9
- { "src": "/(.*)", "dest": "/public/$1" }
+ "rewrites": [
+ {
+ "source": "/(.*)",
+ "destination": "/"
+ }
10
]
11
- }
12
-
+}
0 commit comments