forked from coracle/flotilla
Add sourcemaps script
This commit is contained in:
+2
-2
@@ -1,9 +1,9 @@
|
||||
import * as Sentry from "@sentry/browser"
|
||||
|
||||
export const setupTracking = () => {
|
||||
if (import.meta.env.VITE_SENTRY_DSN) {
|
||||
if (import.meta.env.VITE_GLITCHTIP_API_KEY) {
|
||||
Sentry.init({
|
||||
dsn: import.meta.env.VITE_SENTRY_DSN,
|
||||
dsn: import.meta.env.VITE_GLITCHTIP_API_KEY,
|
||||
tracesSampleRate: 0.01,
|
||||
integrations(integrations) {
|
||||
return integrations.filter(integration => integration.name !== 'Breadcrumbs')
|
||||
|
||||
Reference in New Issue
Block a user