More sentry shit
This commit is contained in:
parent
f334cd6f0f
commit
e88f72c4f0
@ -78,7 +78,12 @@ async function main() {
|
||||
environment: Config.get().sentry.environment,
|
||||
beforeSend: (event, hint) => {
|
||||
const url = event.request?.url;
|
||||
if (url?.includes("/assets/")) return null;
|
||||
if (url && url.includes("/assets/")) return null;
|
||||
|
||||
if (event.request?.url) {
|
||||
event.request.url = event.request.url.split("/").map(x => !parseInt(x) ? x : ":id").join("/");
|
||||
}
|
||||
|
||||
return event;
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user