Skip to content

Commit

Permalink
Webhook deploy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sudhanshugautam2911 committed Nov 8, 2024
1 parent 77e4b71 commit b5c40a6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions apps/bank-webhook/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vercel
2 changes: 1 addition & 1 deletion apps/bank-webhook/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

4 changes: 2 additions & 2 deletions apps/bank-webhook/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"version": 2,
"builds": [
{
"src": "src/index.js",
"src": "src/index.ts",
"use": "@vercel/node",
"config": {
"includeFiles": ["dist/**"]
Expand All @@ -12,7 +12,7 @@
"routes": [
{
"src": "/(.*)",
"dest": "src/index.js"
"dest": "src/index.ts"
}
]
}

0 comments on commit b5c40a6

Please sign in to comment.