Support '*' wildcard (#1355)

This commit is contained in:
Ferenc Hammerl authored and GitHub committed 2023-03-06 11:02:29 +01:00
1 parent 3db8d7ca19
commit 0ef4ed9b56
2 files changed
+8 -2

No files matched your search

+1
View File
@@ -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 ||