mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Minor code review
This commit is contained in:
parent
daa62c3081
commit
4aae1bdf47
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ const isResolvedObject = o => o instanceof Object &&
|
|||
o instanceof Promise === false;
|
||||
const reIPv4 = /^\d+\.\d+\.\d+\.\d+$/
|
||||
const skipDNS = proxyInfo =>
|
||||
proxyInfo?.proxyDNS || proxyInfo?.type?.startsWith('http');
|
||||
proxyInfo && (proxyInfo.proxyDNS || proxyInfo.type?.charCodeAt(0) === 0x68 /* h */);
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue