diff options
author | bilabila | 2024-05-01 17:14:21 +0800 |
---|---|---|
committer | bilabila | 2024-05-01 17:14:21 +0800 |
commit | f67eb7d068e9c2d3cfd1ac0d83f57066a5b7212d (patch) | |
tree | 703e9d47cceda5d9c3c3d3fa58d3c67ba0a2d24f /netease-cloud-music-unblock-enhanced | |
parent | b571cb22a09b2f12277d7da5397af7dd73f87a6a (diff) | |
download | aur-f67eb7d068e9c2d3cfd1ac0d83f57066a5b7212d.tar.gz |
fix proxy env
Diffstat (limited to 'netease-cloud-music-unblock-enhanced')
-rwxr-xr-x | netease-cloud-music-unblock-enhanced | 2 |
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 |