Skip to content

Commit e84503f

Browse files
authored
Make wget verify certificates (#2661)
1 parent 1bbf31d commit e84503f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-ui.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ update_menu() {
180180
return 0
181181
fi
182182

183-
wget --no-check-certificate -O /usr/bin/x-ui https://raw.githubusercontent.com/MHSanaei/3x-ui/main/x-ui.sh
183+
wget -O /usr/bin/x-ui https://raw.githubusercontent.com/MHSanaei/3x-ui/main/x-ui.sh
184184
chmod +x /usr/local/x-ui/x-ui.sh
185185
chmod +x /usr/bin/x-ui
186186

@@ -575,7 +575,7 @@ enable_bbr() {
575575
}
576576

577577
update_shell() {
578-
wget -O /usr/bin/x-ui -N --no-check-certificate https://github.com/MHSanaei/3x-ui/raw/main/x-ui.sh
578+
wget -O /usr/bin/x-ui -N https://github.com/MHSanaei/3x-ui/raw/main/x-ui.sh
579579
if [[ $? != 0 ]]; then
580580
echo ""
581581
LOGE "Failed to download script, Please check whether the machine can connect Github"

0 commit comments

Comments
 (0)