Compare commits
2 Commits
09fa78e7e0
...
703510afa7
| Author | SHA1 | Date | |
|---|---|---|---|
|
703510afa7
|
|||
|
6152dd27e0
|
@@ -10,7 +10,13 @@ Sentry.init({
|
||||
dsn:
|
||||
document.querySelector("meta[name='dsn']")?.getAttribute("content") ??
|
||||
undefined,
|
||||
integrations: [Sentry.browserTracingIntegration()],
|
||||
integrations: [
|
||||
Sentry.browserTracingIntegration(),
|
||||
Sentry.replayIntegration(),
|
||||
],
|
||||
replaysOnErrorSampleRate: 1,
|
||||
replaysSessionSampleRate: 0.02,
|
||||
sendDefaultPii: true,
|
||||
tracesSampleRate: 0.1,
|
||||
});
|
||||
|
||||
|
||||
@@ -229,8 +229,10 @@ export default function () {
|
||||
method: "POST",
|
||||
});
|
||||
|
||||
// @ts-expect-error
|
||||
turnstile.reset();
|
||||
if (!logged_in) {
|
||||
// @ts-expect-error
|
||||
turnstile.reset();
|
||||
}
|
||||
|
||||
return toast({
|
||||
description: "Failed to upload file",
|
||||
|
||||
Reference in New Issue
Block a user