From 1dd7e1dfe733b0e19dc1b88c251879344863cbdd Mon Sep 17 00:00:00 2001 From: Unchained Date: Tue, 31 Mar 2026 06:31:48 +0200 Subject: [PATCH] fix(analytics): use local proxy for OpenPanel to avoid ad blockers --- src/app/[locale]/layout.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/[locale]/layout.tsx b/src/app/[locale]/layout.tsx index 0d891c3..8f2f031 100644 --- a/src/app/[locale]/layout.tsx +++ b/src/app/[locale]/layout.tsx @@ -54,8 +54,8 @@ export default async function LocaleLayout({ clientId={process.env.NEXT_PUBLIC_OPENPANEL_CLIENT_ID || ""} trackScreenViews={true} trackOutgoingLinks={true} - apiUrl="https://op.nodecrew.me/api" - scriptUrl="https://op.nodecrew.me/op1.js" + apiUrl="/api/op" + scriptUrl="/api/op/op1.js" />