diff options
| author | İrem Kuyucu <siren@kernal.eu> | 2025-02-22 13:53:36 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-22 13:53:36 +0300 |
| commit | e84503feecf48c9c3ba66a78cf941486c58e3741 (patch) | |
| tree | e5cf41f47135ac465c7e685f46d0faa65e7ecc79 | |
| parent | 1bbf31df9f61d92c5343e7867567171b6655c4de (diff) | |
Make wget verify certificates (#2661)
| -rw-r--r-- | x-ui.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -180,7 +180,7 @@ update_menu() { return 0 fi - wget --no-check-certificate -O /usr/bin/x-ui https://raw.githubusercontent.com/MHSanaei/3x-ui/main/x-ui.sh + wget -O /usr/bin/x-ui https://raw.githubusercontent.com/MHSanaei/3x-ui/main/x-ui.sh chmod +x /usr/local/x-ui/x-ui.sh chmod +x /usr/bin/x-ui @@ -575,7 +575,7 @@ enable_bbr() { } update_shell() { - wget -O /usr/bin/x-ui -N --no-check-certificate https://github.com/MHSanaei/3x-ui/raw/main/x-ui.sh + wget -O /usr/bin/x-ui -N https://github.com/MHSanaei/3x-ui/raw/main/x-ui.sh if [[ $? != 0 ]]; then echo "" LOGE "Failed to download script, Please check whether the machine can connect Github" |
