This commit is contained in:
Martin
2024-09-19 21:51:50 +08:00
commit 39fc7df763
10 changed files with 2788 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
const axios = require('axios');
const config = require('../config');
function sendToWebhook(data) {
return axios.post(config.WEBHOOK_URL, data, { timeout: 5000 });
}
module.exports = { sendToWebhook };