Skip to content

Commit

Permalink
Update WG-Dash-ENV-setup.sh
Browse files Browse the repository at this point in the history
fixed auto server ip
  • Loading branch information
NOXCIS authored Aug 2, 2024
1 parent 15a815b commit b764db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core-Installer-Functions/WG-Dash/WG-Dash-ENV-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ update_server_ip() {
done

if [ $timer -le 0 ] && [ "$user_activity" = false ]; then
ip=$(hostname -I | awk '{print $1}')
ip=$(curl -s ifconfig.me)
export WG_DASH_SERVER_IP="$ip"
fi

Expand Down

0 comments on commit b764db3

Please sign in to comment.