From 1e00690dd8c4db3d87560c609c17587bb60ba946 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Mon, 9 Feb 2026 23:10:27 +0100 Subject: [PATCH] fix: umami tracking internationalization --- next.config.mjs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/next.config.mjs b/next.config.mjs index c26add1..f2ac0bb 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -17,10 +17,18 @@ const nextConfig = { source: "/stats/:path*", destination: `${umamiUrl}/:path*`, }, + { + source: "/:locale(de)/stats/:path*", + destination: `${umamiUrl}/:path*`, + }, { source: "/errors/:path*", destination: `${glitchtipUrl}/:path*`, }, + { + source: "/:locale(de)/errors/:path*", + destination: `${glitchtipUrl}/:path*`, + }, ]; }, };