mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-05-06 10:58:06 +08:00
match no_proxy to subdomains
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user