From 1bccfc273af2b1d579d033324bca481e15c58653 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 29 Mar 2026 22:49:37 +0800 Subject: fix const limit on lua5.5 --- xmake/modules/net/proxy.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'xmake/modules/net/proxy.lua') diff --git a/xmake/modules/net/proxy.lua b/xmake/modules/net/proxy.lua index 812fdc536..7a45da39d 100644 --- a/xmake/modules/net/proxy.lua +++ b/xmake/modules/net/proxy.lua @@ -157,6 +157,7 @@ function config(url) if host and proxy_hosts then host = host:lower() for _, proxy_host in ipairs(proxy_hosts) do + local proxy_host = proxy_host proxy_host = proxy_host:lower() if host == proxy_hosts or host:match(_host_pattern(proxy_host)) then return _global_proxy() -- cgit v1.3.1