Actualizar server.js

This commit is contained in:
2026-03-18 08:01:11 +00:00
parent 7aa156a09d
commit 0387d6e4c6

View File

@@ -1827,7 +1827,7 @@ async function triggerWhatsAppEvent(ownerId, serviceId, eventType) {
// ====================================================
// 🛑 MODO PRUEBAS (Desvía los mensajes a tu móvil)
// ====================================================
const MODO_PRUEBAS = true; // Cambia esto a 'false' para enviar a clientes reales
const MODO_PRUEBAS = false; // Cambia esto a 'false' para enviar a clientes reales
const MI_TELEFONO = "34667248132"; // <--- TU NÚMERO DE MÓVIL YA CONFIGURADO
if (MODO_PRUEBAS) {
@@ -2475,7 +2475,7 @@ app.post("/services/not-found/:id", authMiddleware, async (req, res) => {
const useDelay = settings.wa_delay_enabled !== false;
// MODO PRUEBAS: Redirigir el mensaje a tu móvil
const MODO_PRUEBAS = true;
const MODO_PRUEBAS = false;
const MI_TELEFONO = "34667248132";
if (MODO_PRUEBAS) {