تغيير المسميات المطبوعة إلى Flash Call OTP وتفعيل اللوج التفصيلي

This commit is contained in:
Hamza-Ayed
2026-05-23 17:10:28 +03:00
parent 78af5a84af
commit 57f3529900
2 changed files with 3 additions and 3 deletions

View File

@@ -73,7 +73,7 @@ async function startSession(session_key, webhook_url) {
},
printQRInTerminal: false,
logger: logger,
browser: ['Nabeh Gateway', 'Chrome', '120.0.0'],
browser: ['Flash Call OTP Gateway', 'Chrome', '120.0.0'],
// Message retry counter cache — tracks how many times each message
// retry has been attempted, preventing infinite retry loops
msgRetryCounterCache,

View File

@@ -31,7 +31,7 @@ const PORT = process.env.PORT || 3722;
// Health check endpoint (Public)
app.get('/health', (req, res) => {
res.json({ status: 'healthy', service: 'Nabeh WhatsApp Gateway' });
res.json({ status: 'healthy', service: 'Flash Call OTP WhatsApp Gateway' });
});
// Security Middleware: Protect all /api/ routes
@@ -121,5 +121,5 @@ app.post('/api/messages/send', async (req, res) => {
});
app.listen(PORT, () => {
console.log(`🚀 Nabeh WhatsApp Gateway running on port ${PORT}`);
console.log(`🚀 Flash Call OTP WhatsApp Gateway running on port ${PORT}`);
});