Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

strip fragment (#1859)

David Luzard9e84b90cecb
diff --git a/src/index.tsx b/src/index.tsx
index cd6671dd65..0a54658c92 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -53,6 +53,12 @@ Sentry.init({
levels: ["error"],
}),
],
+ beforeSend(event) {
+ if (event.request?.url) {
+ event.request.url = event.request.url.replace(/#.*$/, "");
+ }
+ return event;
+ },
});
window.__EXCALIDRAW_SHA__ = REACT_APP_GIT_SHA;