Skip to content

Commit be883db

Browse files
committed
build: fix err with origin undefined
1 parent 9bf2545 commit be883db

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

vercel.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,11 @@
44
"enabled": false
55
},
66
"builds": [{ "src": "dist/src/main.js", "use": "@vercel/node" }],
7-
"routes": [{ "src": "/(.*)", "dest": "dist/src/main.js" }]
7+
"routes": [
8+
{
9+
"src": "/(.*)",
10+
"dest": "dist/src/main.js",
11+
"methods": ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"]
12+
}
13+
]
814
}

0 commit comments

Comments
 (0)