diff options
author | Daniel Hansson <github@hanssonit.se> | 2021-10-14 15:09:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-14 15:09:28 +0300 |
commit | c92796eadb2ad1eb314fc381aa06b2e4098b2686 (patch) | |
tree | f17b5031e14b6686d895b324a6ca27a144a06c58 /static | |
parent | 519d2f8042bda8ce0f1df01a20df2bb556886d81 (diff) |
fix nextcloud.sh (#2115)
Diffstat (limited to 'static')
-rw-r--r-- | static/nextcloud.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/nextcloud.sh b/static/nextcloud.sh index cdcb56db..3b88d300 100644 --- a/static/nextcloud.sh +++ b/static/nextcloud.sh @@ -2,8 +2,8 @@ # T&M Hansson IT AB © - 2021, https://www.hanssonit.se/ -WANIP6=$(curl -s -k -m 5 https://ipv6bot.whatismyipaddress.com) -WANIP4=$(curl -s -k -m 5 https://ipv4bot.whatismyipaddress.com) +WANIP6=$(curl -s -k -m 5 -6 icanhazip.com) +WANIP4=$(curl -s -k -m 5 -4 icanhazip.com) ADDRESS=$(hostname -I | cut -d ' ' -f 1) clear |