mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
strip fragment (#1859)
This commit is contained in:
parent
79c3b846d7
commit
d9e84b90ce
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue