Skip to content

Commit e03187b

Browse files
authored
Update x-ui-pro.sh
1 parent 4889f4a commit e03187b

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
@@ -392,7 +392,7 @@ if systemctl is-active --quiet x-ui || [ -e /etc/systemd/system/x-ui.service ];
392392
msg_inf "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -"
393393
certbot certificates | grep -i 'Path:\|Domains:\|Expiry Date:'
394394
msg_inf "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -"
395-
echo "Hostname: $(uname -n) | $(curl -Ls "http://ip-api.com/json" | jq -r '.org + " [" + .country +"]"')"
395+
echo "Hostname: $(uname -n) | $(curl -Ls "http://ip-api.com/json" | jq -r '.isp + " [" + .countryCode +"]"')"
396396
[[ -n $IP4 ]] && [[ "$IP4" =~ $IP4_REGEX ]] && msg_inf "IPv4: http://$IP4:$PORT$RNDSTR"
397397
[[ -n $IP6 ]] && [[ "$IP6" =~ $IP6_REGEX ]] && msg_inf "IPv6: http://[$IP6]:$PORT$RNDSTR"
398398
msg_inf "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -"

0 commit comments

Comments
 (0)