Skip to content

Commit bbeb303

Browse files
authored
Update x-ui-pro.sh
1 parent 6438080 commit bbeb303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-ui-pro.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ if systemctl is-active --quiet x-ui || [ -e /etc/systemd/system/x-ui.service ];
440440
certbot certificates | grep -i 'Path:\|Domains:\|Expiry Date:'
441441
msg_inf "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -"
442442
IPInfo=$(curl -Ls "https://ipapi.co/json" || curl -Ls "https://ipinfo.io/json")
443-
echo "Hostname: $(uname -n) | $(echo "$IPInfo" | jq -r '.org, .country' | paste -sd' | ')"
443+
echo "Hostname: $(uname -n) | $(echo $IPInfo | jq -r '.org, .country' | paste -sd' | ')"
444444
[[ -n $IP4 ]] && [[ "$IP4" =~ $IP4_REGEX ]] && msg_inf "IPv4: http://$IP4:$PORT$RNDSTR"
445445
[[ -n $IP6 ]] && [[ "$IP6" =~ $IP6_REGEX ]] && msg_inf "IPv6: http://[$IP6]:$PORT$RNDSTR"
446446
msg_inf "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -"

0 commit comments

Comments
 (0)