strip fragment (#1859)
This commit is contained in:
parent
79c3b846d7
commit
d9e84b90ce
@ -53,6 +53,12 @@ Sentry.init({
|
|||||||
levels: ["error"],
|
levels: ["error"],
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
beforeSend(event) {
|
||||||
|
if (event.request?.url) {
|
||||||
|
event.request.url = event.request.url.replace(/#.*$/, "");
|
||||||
|
}
|
||||||
|
return event;
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
window.__EXCALIDRAW_SHA__ = REACT_APP_GIT_SHA;
|
window.__EXCALIDRAW_SHA__ = REACT_APP_GIT_SHA;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user