diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7b2d969 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/node_modules/ +api.ts +database.env \ No newline at end of file diff --git a/package.json b/package.json index 08263ee..44741e2 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..269fdbe --- /dev/null +++ b/vercel.json @@ -0,0 +1,11 @@ +{ + "version":2, + "build":[{ + "src":"./api.js", + "use":"@vercel/node" + }], + "routes":[{ + "src":"/(.*)", + "dest":"/" + }] +} \ No newline at end of file