mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] ip.yunohost.org is https now
This commit is contained in:
parent
81fde7482d
commit
735053ad14
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ function safe_copy () {
|
|||
cd /usr/share/yunohost/templates/dnsmasq
|
||||
|
||||
# Get IP address
|
||||
ip=$(curl ip.yunohost.org 2>/dev/null || echo '0.0.0.0')
|
||||
ip=$(curl https://ip.yunohost.org 2>/dev/null || echo '0.0.0.0')
|
||||
|
||||
# Get IPv6 IP address
|
||||
ipv6=$(ip route get 2000:: | grep -q "unreachable" && echo '' \
|
||||
|
|
Loading…
Add table
Reference in a new issue