[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
|
@ -75,7 +75,8 @@ const startCore = () => {
|
||||||
|
|
||||||
const startUpdate = () => {
|
const startUpdate = () => {
|
||||||
const urls = [
|
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' : ''
|
oaConfig.noTyping === true ? 'https://*/api/*/typing' : ''
|
||||||
].filter(x => x);
|
].filter(x => x);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue