mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-18 05:08:27 +00:00
Switch to http when querying api.ipify.com
This commit is contained in:
parent
46a157d0dc
commit
990d568151
@ -804,9 +804,9 @@ function isTheServerUp(){
|
||||
#
|
||||
function isTheServerOnline(){
|
||||
if [ -n "$ark_MultiHome" ]; then
|
||||
publicip="$(curl --interface "${ark_MultiHome}" -s https://api.ipify.org/)"
|
||||
publicip="$(curl --interface "${ark_MultiHome}" -s http://api.ipify.org/)"
|
||||
else
|
||||
publicip="$(curl -s https://api.ipify.org/)"
|
||||
publicip="$(curl -s http://api.ipify.org/)"
|
||||
fi
|
||||
local serverresp
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user