diff --git a/next.config.ts b/next.config.ts index 65cde2e..49aaaaf 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,6 +1,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { + trailingSlash: true, experimental: { serverActions: { bodySizeLimit: '50mb', diff --git a/src/app/noticia/[slug]/page.tsx b/src/app/[slug]/page.tsx similarity index 100% rename from src/app/noticia/[slug]/page.tsx rename to src/app/[slug]/page.tsx diff --git a/src/components/NewsCard.tsx b/src/components/NewsCard.tsx index 1af1532..8d935ad 100644 --- a/src/components/NewsCard.tsx +++ b/src/components/NewsCard.tsx @@ -33,7 +33,7 @@ export const NewsCard = ({ const fechaFormateada = fechaObj.toLocaleDateString('es-ES', { day: '2-digit', month: 'short', year: 'numeric' }); return ( - + {/* Imagen Destacada */}