Support '*' wildcard (#1355)
This commit is contained in:
1 parent
3db8d7ca19
commit
0ef4ed9b56
2 files changed
+8
-2
No files matched your search
@@ -52,6 +52,7 @@ export function checkBypass(reqUrl: URL): boolean {
|
||||
.map(x => x.trim().toUpperCase())
|
||||
.filter(x => x)) {
|
||||
if (
|
||||
upperNoProxyItem === '*' ||
|
||||
upperReqHosts.some(
|
||||
x =>
|
||||
x === upperNoProxyItem ||
|
||||
|
||||
Reference in new issue
Block a user