summarylogtreecommitdiffstats
path: root/netease-cloud-music-unblock-enhanced
diff options
context:
space:
mode:
Diffstat (limited to 'netease-cloud-music-unblock-enhanced')
-rwxr-xr-xnetease-cloud-music-unblock-enhanced2
1 files changed, 2 insertions, 0 deletions
diff --git a/netease-cloud-music-unblock-enhanced b/netease-cloud-music-unblock-enhanced
index 1db37821e1bb..05ce604f3ec8 100755
--- a/netease-cloud-music-unblock-enhanced
+++ b/netease-cloud-music-unblock-enhanced
@@ -5,4 +5,6 @@ cd /usr/share/$name
port=($(comm -23 <(seq 49152 65535 | sort) <(ss -Htan | awk '{print $4}' | cut -d':' -f2 | sort -u) | shuf | head -n 2))
node ./app.js -p ${port[0]}:${port[1]} "$@" &
export all_proxy=http://127.0.0.1:${port[0]}
+export http_proxy=http://127.0.0.1:${port[0]}
+export https_proxy=http://127.0.0.1:${port[0]}
netease-cloud-music