webhook 55s update

This commit is contained in:
nurullah
2025-11-03 12:35:33 +06:00
parent 4c3087f4fc
commit bb529b43c0

View File

@@ -45,9 +45,10 @@ app.get("/test-db", async (req, res) => {
app.get("/test-webhook", (req, res) => {
// 3 minutes = 3 × 60 × 1000 = 180000 milliseconds
// 55 sec = 55*1000 = 55000 milliseconds
setTimeout(() => {
res.status(200).send({ message: "Webhook received after 3 minutes!" });
}, 180000);
}, 55000);
});
const PORT = process.env.PORT || 4000;