2
0

💚 Fix Sentry sourcemap upload

Closes #405
This commit is contained in:
Baptiste Arnaud
2023-03-21 13:58:05 +01:00
parent b4536abc2f
commit 90cb0750b8
6 changed files with 640 additions and 564 deletions

View File

@ -1,7 +1,3 @@
// This file configures the initialization of Sentry on the server.
// The config you add here will be used whenever the server handles a request.
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
import * as Sentry from '@sentry/nextjs'
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN