diff --git a/apps/bank-webhook/.gitignore b/apps/bank-webhook/.gitignore new file mode 100644 index 0000000..e985853 --- /dev/null +++ b/apps/bank-webhook/.gitignore @@ -0,0 +1 @@ +.vercel diff --git a/apps/bank-webhook/src/index.ts b/apps/bank-webhook/src/index.ts index b66a204..f5955e3 100644 --- a/apps/bank-webhook/src/index.ts +++ b/apps/bank-webhook/src/index.ts @@ -71,7 +71,7 @@ app.post("/hdfcWebhook", async (req, res) => { } }) - +app.listen(3000, () => console.log("Server ready on port 3000.")); // app.listen(3003); export default app; diff --git a/apps/bank-webhook/vercel.json b/apps/bank-webhook/vercel.json index 628d3bf..7bfee58 100644 --- a/apps/bank-webhook/vercel.json +++ b/apps/bank-webhook/vercel.json @@ -2,7 +2,7 @@ "version": 2, "builds": [ { - "src": "src/index.js", + "src": "src/index.ts", "use": "@vercel/node", "config": { "includeFiles": ["dist/**"] @@ -12,7 +12,7 @@ "routes": [ { "src": "/(.*)", - "dest": "src/index.js" + "dest": "src/index.ts" } ] }