proxy urls
Some checks failed
Build & Deploy KLZ Cables / deploy (push) Failing after 2m21s

This commit is contained in:
2026-01-25 13:25:37 +01:00
parent cf5df1b46b
commit 1380d40b4d
7 changed files with 51 additions and 70 deletions

View File

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