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
@ -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 New Issue
Block a user