env vars
Some checks failed
Build & Deploy KLZ Cables / build-and-deploy (push) Failing after 3m30s

This commit is contained in:
2026-01-26 12:57:06 +01:00
parent b596c22011
commit feedf30be1
7 changed files with 9 additions and 6 deletions

View File

@@ -1,10 +1,9 @@
import * as Sentry from '@sentry/nextjs';
const dsn = process.env.NEXT_PUBLIC_SENTRY_DSN || 'https://c10957d0182245b1a2a806ac2d34a197@klz-cables.com/errors/1';
const dsn = process.env.NEXT_PUBLIC_SENTRY_DSN;
Sentry.init({
dsn,
tunnel: '/errors/tunnel',
enabled: Boolean(dsn),
tracesSampleRate: 0,
});