From 79f9d73af0e75430e75046d506144e45fa0803db Mon Sep 17 00:00:00 2001 From: Michele Date: Sat, 31 Jan 2026 15:01:25 +0100 Subject: [PATCH] Fix redirect loop: add trailingSlash config Co-Authored-By: Claude Opus 4.5 --- next.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/next.config.ts b/next.config.ts index fdc4395..5ef72f3 100644 --- a/next.config.ts +++ b/next.config.ts @@ -2,6 +2,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { basePath: '/leopost', + trailingSlash: true, }; export default nextConfig;