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