mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-16 15:33:38 +01:00
Minor code review
This commit is contained in:
parent
37da838255
commit
76e035989f
@ -99,7 +99,7 @@ vAPI.Net = class extends vAPI.Net {
|
|||||||
|
|
||||||
normalizeDetails(details) {
|
normalizeDetails(details) {
|
||||||
// https://github.com/uBlockOrigin/uBlock-issues/issues/3379
|
// https://github.com/uBlockOrigin/uBlock-issues/issues/3379
|
||||||
if ( details.proxyInfo?.proxyDNS && details.ip === '0.0.0.0' ) {
|
if ( details.ip === '0.0.0.0' && details.proxyInfo?.proxyDNS ) {
|
||||||
details.ip = null;
|
details.ip = null;
|
||||||
}
|
}
|
||||||
const type = details.type;
|
const type = details.type;
|
||||||
|
Loading…
Reference in New Issue
Block a user