Merge pull request #395 from itdoginfo/fix/list-update

fix: use service_proxy_address for GitHub proxy connectivity check
This commit is contained in:
Kirill Sobakin
2026-06-13 13:33:48 +03:00
committed by GitHub

View File

@@ -510,7 +510,7 @@ list_update() {
local service_proxy_address
service_proxy_address="$(get_service_proxy_address)"
if [ -n "$http_proxy_address" ]; then
if [ -n "$service_proxy_address" ]; then
if curl -s -x "http://$service_proxy_address" -m $curl_timeout https://github.com > /dev/null; then
echolog "✅ GitHub connection check passed (via proxy)"
break