fix: ruta raíz / redirige a /login

This commit is contained in:
Lizandro Guarnizo
2026-06-04 20:05:36 -05:00
parent 43f337ee34
commit 1d74463265
+1
View File
@@ -37,6 +37,7 @@ $path = rtrim($path, '/') ?: '/';
// ─── Tabla de rutas ──────────────────────────────────────────────────────────
$routes = [
['GET', '/', fn() => (header('Location: /login') ?: exit())],
['GET', '/health', fn() => jsonResponse(200, ['status' => 'ok', 'service' => 'bot-palmas360'])],
// ─── WhatsApp webhook ────────────────────────────────────────────────────