Skip to content

Commit 1f0ac0f

Browse files
committed
bootstrap: fix new blocking system
1 parent a6bd665 commit 1f0ac0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bootstrap.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ const startCore = () => {
7575
};
7676

7777
const startUpdate = () => {
78-
session.defaultSession.webRequest.onBeforeRequest({ urls: [
79-
oaConfig.noTrack ? 'https://*/api/v9/science' : '',
80-
oaConfig.noTyping ? 'https://*/api/*/typing' : ''
78+
session.defaultSession.webRequest.onBeforeRequest({ urls: [ 'https://a.invalid/a',
79+
oaConfig.noTrack !== false ? 'https://*/api/v9/science' : '',
80+
oaConfig.noTyping === true ? 'https://*/api/*/typing' : ''
8181
].filter(x => x) }, (e, cb) => cb({ cancel: true }));
8282

8383
const startMin = process.argv?.includes?.('--start-minimized');

0 commit comments

Comments
 (0)