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*`, + }, ]; }, };