From 149b1e42e923e1539dedceda9b6a79038d402715 Mon Sep 17 00:00:00 2001 From: Guilherme Cruz <100307080+https-shini@users.noreply.github.com> Date: Sun, 15 Nov 2026 23:34:52 -0300 Subject: [PATCH] =?UTF-8?q?fix(deploy):=20raiz=20do=20endere=C3=A7o=20anti?= =?UTF-8?q?go=20tamb=C3=A9m=20redireciona?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit O padrão /:path* não cobre a raiz: a Vercel servia a página inicial do cache em movies-lib-vite.vercel.app/. Com /(.*), a raiz e os demais caminhos respondem 308 para o mesmo caminho em cinelux.gcruz.dev.br. --- vercel.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vercel.json b/vercel.json index 8a0b0df..cfdffe0 100644 --- a/vercel.json +++ b/vercel.json @@ -2,14 +2,14 @@ "$schema": "https://openapi.vercel.sh/vercel.json", "redirects": [ { - "source": "/:path*", + "source": "/(.*)", "has": [ { "type": "host", "value": "movies-lib-vite.vercel.app" } ], - "destination": "https://cinelux.gcruz.dev.br/:path*", + "destination": "https://cinelux.gcruz.dev.br/$1", "permanent": true } ],