From 6d57961d1d8b651dc605a68841a8d8125cbddfd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Camilo=20Gonz=C3=A1lez?= Date: Tue, 5 Mar 2024 15:40:38 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20problema=20404?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/[...slug].vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/[...slug].vue b/pages/[...slug].vue index c8ca1c5..c4d413f 100644 --- a/pages/[...slug].vue +++ b/pages/[...slug].vue @@ -97,7 +97,8 @@ if (esPaginaGeneral) { } } } else { - throw createError({ statusCode: 404, statusMessage: 'La página no existe', fatal: true }); + // TODO: ESTO ESTABA ROMPIENDO LA PàGINA, VER COMO MOSTRAR EL 404 CUANDO DE VERDAD ES 404 + throw createError({ statusCode: 404, statusMessage: 'La página no existe', fatal: false }); } }