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 ────────────────────────────────────────────────────