NoTrack: Fix another issue related to proxies
This commit is contained in:
parent
18c5ca216c
commit
f9776ce1ae
|
@ -107,7 +107,8 @@ export default definePlugin({
|
||||||
srcRequest.send();
|
srcRequest.send();
|
||||||
|
|
||||||
// Final condition to see if this is the Sentry WebpackInstance
|
// Final condition to see if this is the Sentry WebpackInstance
|
||||||
if (!srcRequest.responseText.includes("window.DiscordSentry=")) {
|
// This is matching window.DiscordSentry=, but without `window` to avoid issues on some proxies
|
||||||
|
if (!srcRequest.responseText.includes(".DiscordSentry=")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue