google fonts 服务回归,放入直接访问域名;调整匹配规则,先匹配直接域名,再匹配代理域名
This commit is contained in:
@@ -135,14 +135,14 @@ function FindProxyForURL(url, host) {
|
||||
}
|
||||
|
||||
if (!ipRegExp.test(host)) {
|
||||
if (isInProxyDomain(host)) {
|
||||
alert(`${host} MATCHES PROXY DOMAIN`)
|
||||
return proxy;
|
||||
}
|
||||
if (isInDirectDomain(host)) {
|
||||
alert(`${host} MATCHES DIRECT DOMAIN`)
|
||||
return direct
|
||||
}
|
||||
if (isInProxyDomain(host)) {
|
||||
alert(`${host} MATCHES PROXY DOMAIN`)
|
||||
return proxy;
|
||||
}
|
||||
strIp = dnsResolve(host);
|
||||
} else {
|
||||
strIp = host
|
||||
|
||||
Reference in New Issue
Block a user