Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorDaniel Hansson <github@hanssonit.se>2021-10-14 15:09:28 +0300
committerGitHub <noreply@github.com>2021-10-14 15:09:28 +0300
commitc92796eadb2ad1eb314fc381aa06b2e4098b2686 (patch)
treef17b5031e14b6686d895b324a6ca27a144a06c58 /static
parent519d2f8042bda8ce0f1df01a20df2bb556886d81 (diff)
fix nextcloud.sh (#2115)
Diffstat (limited to 'static')
-rw-r--r--static/nextcloud.sh4
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