fix: sentry dsn using const

This commit is contained in:
Torsten Dittmann
2024-06-26 12:35:08 +02:00
parent 685bfab919
commit a57d752a4e
3 changed files with 6 additions and 4 deletions

View File

@@ -2,10 +2,10 @@ import * as Sentry from '@sentry/sveltekit';
import type { Handle } from '@sveltejs/kit';
import redirects from './redirects.json';
import { sequence } from '@sveltejs/kit/hooks';
import { BANNER_KEY } from '$lib/constants';
import { BANNER_KEY, SENTRY_DSN } from '$lib/constants';
Sentry.init({
dsn: "https://27d41dc8bb67b596f137924ab8599e59@o1063647.ingest.us.sentry.io/4507497727000576",
dsn: SENTRY_DSN,
tracesSampleRate: 1
})