From b476807a4392dbab56f18bcdabb56c0b7a9bcc0c Mon Sep 17 00:00:00 2001 From: Unchained Date: Tue, 31 Mar 2026 08:15:36 +0200 Subject: [PATCH] fix(analytics): add catch-all rewrite for OpenPanel /track paths --- next.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/next.config.ts b/next.config.ts index a8d2bf3..48c54db 100644 --- a/next.config.ts +++ b/next.config.ts @@ -34,6 +34,10 @@ const nextConfig: NextConfig = { source: "/api/op/track", destination: `${openpanelUrl}/track`, }, + { + source: "/api/op/track/:path*", + destination: `${openpanelUrl}/track/:path*`, + }, ]; }, images: {