chore: Update sentry config

This commit is contained in:
Joakim Jäderberg
2024-12-20 11:04:46 +01:00
parent f7ec34d86f
commit 1f61bdc060
6 changed files with 12 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
import * as Sentry from "@sentry/nextjs"
import { env } from "./env/server"
import { denyUrls } from "./sentry.shared.config"
Sentry.init({
dsn: "https://fe39c070b4154e2f9cc35f0e5de0aedb@o4508102497206272.ingest.de.sentry.io/4508102500286544",
@@ -8,4 +9,5 @@ Sentry.init({
enabled: env.SENTRY_ENVIRONMENT !== "development",
tracesSampleRate: env.SENTRY_SERVER_SAMPLERATE,
denyUrls: [...denyUrls],
})