Skip to content

Commit 5c9e92d

Browse files
author
scinorandex
committed
Point vercel to src/api.ts
1 parent dff091f commit 5c9e92d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

now.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"version": 2,
33
"builds": [
44
{
5-
"src": "src/index.ts",
5+
"src": "src/api.ts",
66
"use": "@vercel/node"
77
}
88
],
@@ -13,8 +13,8 @@
1313
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS",
1414
"Access-Control-Allow-Headers": "X-Requested-With, Content-Type, Accept"
1515
},
16-
"src": "/.*",
17-
"dest": "/app.js"
16+
"src": "/(.*)",
17+
"dest": "src/api.ts"
1818
}
1919
],
2020
"env": {

0 commit comments

Comments
 (0)