Skip to content

Commit 1e17546

Browse files
authored
Fixed non-www url
1 parent 5c866ca commit 1e17546

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,7 @@ if [ "$iptables" = 'yes' ]; then
12221222
fi
12231223

12241224
# Get public IP
1225-
pub_ip=$(curl -s https://hestiacp.com/what-is-my-ip/)
1225+
pub_ip=$(curl -s https://www.hestiacp.com/what-is-my-ip/)
12261226
if [ ! -z "$pub_ip" ] && [ "$pub_ip" != "$ip" ]; then
12271227
echo "$HESTIA/bin/v-update-sys-ip" >> /etc/rc.local
12281228
$HESTIA/bin/v-change-sys-ip-nat $ip $pub_ip
@@ -1287,7 +1287,7 @@ $HESTIA/bin/v-add-cron-vesta-autoupdate
12871287
#----------------------------------------------------------#
12881288

12891289
# Sending install notification to hestiacp.com
1290-
wget https://hestiacp.com/notify/?os=$os\&version=$release -O /dev/null -q
1290+
wget https://www.hestiacp.com/notify/?os=$os\&version=$release -O /dev/null -q
12911291

12921292
# Comparing hostname and IP
12931293
host_ip=$(host $servername| head -n 1 |awk '{print $NF}')

0 commit comments

Comments
 (0)