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

@ -3,6 +3,7 @@
"version": "1.0.0", "version": "1.0.0",
"main": "app.js", "main": "app.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node app.js" "start": "node app.js"
}, },
"keywords": [], "keywords": [],

View File

@ -2,7 +2,7 @@
"version": 2, "version": 2,
"builds": [ "builds": [
{ {
"src": "app.js", "src": "./app.js",
"use": "@vercel/node" "use": "@vercel/node"
} }
@ -10,7 +10,7 @@
"routes": [ "routes": [
{ {
"src": "/(.*)", "src": "/(.*)",
"dest": "app.js" "dest": "/"
} }
] ]
} }