From 1d7446326534d3de59b14275820e9f48e85ca6d8 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Thu, 4 Jun 2026 20:05:36 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20ruta=20ra=C3=ADz=20/=20redirige=20a=20/l?= =?UTF-8?q?ogin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/public/index.php b/public/index.php index 9c7c072..3d7ab94 100644 --- a/public/index.php +++ b/public/index.php @@ -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 ────────────────────────────────────────────────────