fix(script): url in rerun_with_sudo

This commit is contained in:
Haruue Icymoon 2023-09-06 23:29:46 +08:00
parent 2716b92e94
commit ac56271d03
No known key found for this signature in database
GPG key ID: F6083B28CBCBC148

View file

@ -299,9 +299,9 @@ rerun_with_sudo() {
chmod +x "$_tmp_script"
if has_command curl; then
curl -o "$_tmp_script" 'https://get.hy2.sh/'
curl -o "$_tmp_script" 'https://raw.githubusercontent.com/apernet/hysteria/hy1/install_server.sh'
elif has_command wget; then
wget -O "$_tmp_script" 'https://get.hy2.sh'
wget -O "$_tmp_script" 'https://raw.githubusercontent.com/apernet/hysteria/hy1/install_server.sh'
else
return 127
fi