Remove electron level telemetry blocking

This is obsolete because the noTrack plugin already does this in
renderer.
This commit is contained in:
Vendicated 2022-10-03 18:56:22 +02:00
parent 07ed4fa01f
commit 71a59f4020
No known key found for this signature in database
GPG Key ID: EC781ADFB93EFFA3
1 changed files with 0 additions and 6 deletions

View File

@ -64,10 +64,4 @@ electron.app.whenReady().then(() => {
}
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 })
);
});