bootstrap: tweak webRequest handling
This commit is contained in:
parent
5c68a2a78f
commit
3314bc9c28
|
@ -78,7 +78,7 @@ const startUpdate = () => {
|
|||
session.defaultSession.webRequest.onBeforeRequest({ urls: [
|
||||
oaConfig.noTrack ? 'https://*/api/v9/science' : '',
|
||||
oaConfig.noTyping ? 'https://*/api/*/typing' : ''
|
||||
].filter(x => x) }, async (e, cb) => cb({ cancel: true }));
|
||||
].filter(x => x) }, (e, cb) => cb({ cancel: true }));
|
||||
|
||||
const startMin = process.argv?.includes?.('--start-minimized');
|
||||
|
||||
|
|
Loading…
Reference in New Issue