diff options
| -rw-r--r-- | xmake/modules/net/proxy.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/net/proxy.lua b/xmake/modules/net/proxy.lua index 0f358172c..5f093b9c5 100644 --- a/xmake/modules/net/proxy.lua +++ b/xmake/modules/net/proxy.lua @@ -88,6 +88,9 @@ function get(url) if proxy_pac and proxy_pac(url, host) then return global.get("proxy") end + if not proxy_pac and not proxy_hosts then + return global.get("proxy") + end return end |
