Remove electron level telemetry blocking
This is obsolete because the noTrack plugin already does this in renderer.
This commit is contained in:
parent
07ed4fa01f
commit
71a59f4020
1 changed files with 0 additions and 6 deletions
|
@ -64,10 +64,4 @@ electron.app.whenReady().then(() => {
|
||||||
}
|
}
|
||||||
cb({ cancel: false, responseHeaders });
|
cb({ cancel: false, responseHeaders });
|
||||||
});
|
});
|
||||||
|
|
||||||
// Drop science and sentry requests
|
|
||||||
electron.session.defaultSession.webRequest.onBeforeRequest(
|
|
||||||
{ urls: ["https://*/api/v*/science", "https://sentry.io/*"] },
|
|
||||||
(_, callback) => callback({ cancel: true })
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue