From b5c40a6a1867fd2337c0604dd197bb2598605ced Mon Sep 17 00:00:00 2001 From: sudhanshugautam2911 Date: Fri, 8 Nov 2024 12:22:18 +0530 Subject: [PATCH] Webhook deploy changes --- apps/bank-webhook/.gitignore | 1 + apps/bank-webhook/src/index.ts | 2 +- apps/bank-webhook/vercel.json | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 apps/bank-webhook/.gitignore 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" } ] }