تغيير المسميات المطبوعة إلى Flash Call OTP وتفعيل اللوج التفصيلي
This commit is contained in:
@@ -73,7 +73,7 @@ async function startSession(session_key, webhook_url) {
|
|||||||
},
|
},
|
||||||
printQRInTerminal: false,
|
printQRInTerminal: false,
|
||||||
logger: logger,
|
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
|
// Message retry counter cache — tracks how many times each message
|
||||||
// retry has been attempted, preventing infinite retry loops
|
// retry has been attempted, preventing infinite retry loops
|
||||||
msgRetryCounterCache,
|
msgRetryCounterCache,
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ const PORT = process.env.PORT || 3722;
|
|||||||
|
|
||||||
// Health check endpoint (Public)
|
// Health check endpoint (Public)
|
||||||
app.get('/health', (req, res) => {
|
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
|
// Security Middleware: Protect all /api/ routes
|
||||||
@@ -121,5 +121,5 @@ app.post('/api/messages/send', async (req, res) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
app.listen(PORT, () => {
|
app.listen(PORT, () => {
|
||||||
console.log(`🚀 Nabeh WhatsApp Gateway running on port ${PORT}`);
|
console.log(`🚀 Flash Call OTP WhatsApp Gateway running on port ${PORT}`);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user