[noTrack] Blocking improvements (#108)
* [noTrack] Also block metrics call * [noTrack] Wildcard api version for science call
This commit is contained in:
parent
c2cd5449bd
commit
40b27dd1b8
1 changed files with 2 additions and 1 deletions
3
src/bootstrap.js
vendored
3
src/bootstrap.js
vendored
|
@ -75,7 +75,8 @@ const startCore = () => {
|
|||
|
||||
const startUpdate = () => {
|
||||
const urls = [
|
||||
oaConfig.noTrack !== false ? 'https://*/api/v9/science' : '',
|
||||
oaConfig.noTrack !== false ? 'https://*/api/*/science' : '',
|
||||
oaConfig.noTrack !== false ? 'https://*/api/*/metrics' : '',
|
||||
oaConfig.noTyping === true ? 'https://*/api/*/typing' : ''
|
||||
].filter(x => x);
|
||||
|
||||
|
|
Loading…
Reference in a new issue