deploy vercel

This commit is contained in:
unknown 2025-06-05 01:50:17 +07:00
parent 2d18d4f161
commit 9a90ea2742
2 changed files with 7 additions and 6 deletions

View File

@ -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",

View File

@ -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": "/"
}
]
}