diff --git a/.gitignore b/.gitignore index ea48d65..0790644 100644 --- a/.gitignore +++ b/.gitignore @@ -34,4 +34,5 @@ lerna-debug.log* !.vscode/launch.json !.vscode/extensions.json -.env \ No newline at end of file +.env +.vercel diff --git a/vercel.json b/vercel.json index e1e50fb..e8febde 100644 --- a/vercel.json +++ b/vercel.json @@ -1,9 +1,16 @@ { "version": 2, + "builds": [ + { + "src": "src/main.ts", + "use": "@vercel/node" + } + ], "routes": [ { "src": "/(.*)", - "dest": "dist/main.js" + "dest": "src/main.ts", + "methods": ["GET", "POST", "PUT", "DELETE"] } ] }