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

@ -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 })
);
}); });