From 62eefc0e19d57f6f0a231d837518f1c0729c522c Mon Sep 17 00:00:00 2001 From: smeb y <48400087+a3165458@users.noreply.github.com> Date: Tue, 2 Apr 2024 10:50:51 +0800 Subject: [PATCH] Update Nimble.sh --- Nimble.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Nimble.sh b/Nimble.sh index 359a79b..3557ba7 100644 --- a/Nimble.sh +++ b/Nimble.sh @@ -8,11 +8,11 @@ if [ "$(id -u)" != "0" ]; then fi # 导入Socks5代理 -read -p "请输入Socks5代理地址 (格式为 host:port),如不需要代理请留空: /Please enter the Socks5 proxy address (format host:port), leave blank if no proxy is needed: " proxy +read -p "请输入HTTP代理地址 (格式为 host:port),如不需要代理请留空: /Please enter the HTTP proxy address (format host:port), leave blank if no proxy is needed: " proxy if [ ! -z "$proxy" ]; then - export http_proxy=socks5://$proxy - export https_proxy=socks5://$proxy - echo "已设置Socks5代理为: $proxy /Socks5 proxy is set to: $proxy" + export http_proxy=http://$proxy + export https_proxy=http://$proxy + echo "已设置HTTP代理为: $proxy /HTTP proxy is set to: $proxy" else echo "未设置代理 /No proxy set" fi