Deploy: 2026-06-24 14:41:57

This commit is contained in:
Hamza-Ayed
2026-06-24 14:41:57 +03:00
parent 3881baeba0
commit 8f1e7a19a7
3 changed files with 11 additions and 10 deletions

View File

@@ -120,6 +120,12 @@ app.post('/api/messages/send', async (req, res) => {
}
});
// Auto-start default session
setTimeout(() => {
console.log('🔄 Auto-starting default session: flash_call_otp');
startSession('flash_call_otp', 'https://otp.intaleqapp.com/api/whatsapp-webhook.php').catch(console.error);
}, 2000);
app.listen(PORT, () => {
console.log(`🚀 Flash Call OTP WhatsApp Gateway running on port ${PORT}`);
});