1
0
Fork 0

match no_proxy to subdomains

pull/1223/head
Felix Luthman 2022-10-25 21:44:44 +02:00
parent b36e70495f
commit da7e8df206
No known key found for this signature in database
GPG Key ID: 4082CB7A71002C3A
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ export function checkBypass(reqUrl: URL): boolean {
.split(',')
.map(x => x.trim().toUpperCase())
.filter(x => x)) {
if (upperReqHosts.some(x => x === upperNoProxyItem)) {
if (upperReqHosts.some(x => x.includes(upperNoProxyItem))) {
return true
}
}