[fix] use ip6.yunohost.org instead of ipv6.yunohost.org (less connectivity issues)

This commit is contained in:
Julien Malik 2016-03-08 18:59:09 +01:00
parent f1d5c1fe92
commit 4fd7a69d68

View file

@ -295,8 +295,8 @@ def get_public_ip(protocol=4):
if protocol == 4: if protocol == 4:
url = 'https://ip.yunohost.org' url = 'https://ip.yunohost.org'
elif protocol == 6: elif protocol == 6:
# FIXME: Let's Encrypt does not support IPv6 host only yet # FIXME: Let's Encrypt does not support IPv6-only hosts yet
url = 'http://ipv6.yunohost.org' url = 'http://ip6.yunohost.org'
else: else:
raise ValueError("invalid protocol version") raise ValueError("invalid protocol version")
try: try: