Skip to content

Commit af4c2e0

Browse files
committed
update vercel.json
1 parent af667b8 commit af4c2e0

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

vercel.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
{
2-
"rewrites": [
2+
"version": 2,
3+
"builds": [
34
{
4-
"source": "/api/(.*)",
5-
"destination": "/api"
5+
"src": "./src/api/index.js",
6+
"use": "@vercel/node"
7+
}
8+
],
9+
"routes": [
10+
{
11+
"src": "/(.*)",
12+
"dest": "/"
613
}
714
]
815
}

0 commit comments

Comments
 (0)