upgrade deps

This commit is contained in:
undefined committed 2024-07-06 12:53:48 +08:00
1 parent 8fece6288d
commit 7588f13e2d
8 files changed
+17 -13

No files matched your search

+6 -2
View File
@@ -39,11 +39,15 @@ if (process.env.NODE_ENV === 'production' && !UiContext.sentry_disable) {
release: `hydro-web@${process.env.VERSION}`,
integrations: [
Sentry.browserTracingIntegration(),
Sentry.replayIntegration(),
Sentry.browserApiErrorsIntegration(),
Sentry.replayIntegration({
networkRequestHeaders: ['Content-Type'],
networkResponseHeaders: ['Content-Type', 'Location'],
}),
],
tracesSampleRate: 0.1,
tracePropagationTargets: ['localhost', /^\//, window.location.host],
replaysSessionSampleRate: 0.1,
replaysSessionSampleRate: 0.03,
replaysOnErrorSampleRate: 1.0,
});
}