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-11-12 15:57:57 +0300
committerGitHub <noreply@github.com>2021-11-12 15:57:57 +0300
commit2f1bfeeeb9ddafd6f5f9cfcef69ddfa9c62b3938 (patch)
tree3fe7c5fbd5ed94a6d0094a5dab7b231840708e9b /static
parent282c5d7beacd8f1d1165a3ca66cd3639807be84a (diff)
change support IPv6 (#2135)
* change support IPv6 * Update ddclient-configuration.sh
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 3b88d300..1dd08847 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 -6 icanhazip.com)
-WANIP4=$(curl -s -k -m 5 -4 icanhazip.com)
+WANIP6=$(curl -s -k -m 5 -6 https://api64.ipify.org)
+WANIP4=$(curl -s -k -m 5 -4 https://api64.ipify.org)
ADDRESS=$(hostname -I | cut -d ' ' -f 1)
clear