Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

feat(web): remove sentry replay (#617)

Tom Lienard9bfad8227899
diff --git a/apps/web/sentry.client.config.ts b/apps/web/sentry.client.config.ts
index 51ce7ff4..7085165e 100644
--- a/apps/web/sentry.client.config.ts
+++ b/apps/web/sentry.client.config.ts
@@ -16,24 +16,9 @@ Sentry.init({
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
- replaysOnErrorSampleRate: 1.0,
-
- // This sets the sample rate to be 10%. You may want this to be 100% while
- // in development and sample at a lower rate in production
- replaysSessionSampleRate: 0.1,
-
enabled: process.env.NODE_ENV === 'production',
environment:
window.origin.includes('staging') || window.origin.includes('vercel.app')
? 'Staging'
: 'Production',
-
- // You can remove this option if you're not planning to use the Sentry Session Replay feature:
- integrations: [
- new Sentry.Replay({
- // Additional Replay configuration goes in here, for example:
- maskAllText: true,
- blockAllMedia: true,
- }),
- ],
});