build: support sentry replay (#1908)

This commit is contained in:
Himself65 authored and GitHub committed 2023-04-12 21:18:41 -05:00
1 parent 2a2d682211
commit 1162bffb30
1 file changed
+3
+3
View File
@@ -5,4 +5,7 @@ const SENTRY_DSN = process.env.NEXT_PUBLIC_SENTRY_DSN;
Sentry.init({
dsn: SENTRY_DSN,
tracesSampleRate: 1.0,
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
integrations: [new Sentry.Replay()],
});