Skip to content

Commit

Permalink
updaet
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenilk committed Apr 30, 2023
1 parent b52e0dd commit ba46e99
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/node_modules/
api.ts
database.env
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "",
"main": "api.js",
"engines": {"node":"20.x"},
"engines": {"node":"19.x"},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node api.js"
Expand Down
11 changes: 11 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version":2,
"build":[{
"src":"./api.js",
"use":"@vercel/node"
}],
"routes":[{
"src":"/(.*)",
"dest":"/"
}]
}

1 comment on commit ba46e99

@vercel
Copy link

@vercel vercel bot commented on ba46e99 Apr 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

`build` should be object

Please sign in to comment.