deploy vercel
This commit is contained in:
parent
2d18d4f161
commit
9a90ea2742
|
@ -2,9 +2,10 @@
|
|||
"name": "backend",
|
||||
"version": "1.0.0",
|
||||
"main": "app.js",
|
||||
"scripts": {
|
||||
"start": "node app.js"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "node app.js"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"version": 2,
|
||||
"builds": [
|
||||
{
|
||||
"src": "app.js",
|
||||
"src": "./app.js",
|
||||
"use": "@vercel/node"
|
||||
|
||||
}
|
||||
|
@ -10,7 +10,7 @@
|
|||
"routes": [
|
||||
{
|
||||
"src": "/(.*)",
|
||||
"dest": "app.js"
|
||||
"dest": "/"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue