fix(analytics): use direct OpenPanel URL instead of proxy

Use https://op.nodecrew.me/api and https://op.nodecrew.me/op1.js
directly since OpenPanel is self-hosted.
This commit is contained in:
Unchained
2026-03-25 19:09:10 +02:00
parent cdd3f9c77e
commit 6dbaf99b29

View File

@@ -50,8 +50,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="/api/op" apiUrl="https://op.nodecrew.me/api"
scriptUrl="/api/op/op1.js" scriptUrl="https://op.nodecrew.me/op1.js"
/> />
<NextIntlClientProvider messages={messages}> <NextIntlClientProvider messages={messages}>
{children} {children}