fix(analytics): use local proxy for OpenPanel to avoid ad blockers
Some checks failed
Build and Deploy / build (push) Has been cancelled

This commit is contained in:
Unchained
2026-03-31 06:31:48 +02:00
parent 054889a44e
commit 1dd7e1dfe7

View File

@@ -54,8 +54,8 @@ export default async function LocaleLayout({
clientId={process.env.NEXT_PUBLIC_OPENPANEL_CLIENT_ID || ""} clientId={process.env.NEXT_PUBLIC_OPENPANEL_CLIENT_ID || ""}
trackScreenViews={true} trackScreenViews={true}
trackOutgoingLinks={true} trackOutgoingLinks={true}
apiUrl="https://op.nodecrew.me/api" apiUrl="/api/op"
scriptUrl="https://op.nodecrew.me/op1.js" scriptUrl="/api/op/op1.js"
/> />
<Script <Script
src="/api/script.js" src="/api/script.js"