mirror of https://github.com/actions/toolkit
match no_proxy to subdomains
parent
b36e70495f
commit
da7e8df206
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue