1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-24 07:37:04 +00:00

Version check will now use the correct endpoint

This commit is contained in:
David Duque 2020-04-20 23:35:11 +01:00
parent d98825f609
commit 2176d59727
No known key found for this signature in database
GPG Key ID: 2F327738A3C0AE3A

View File

@ -802,7 +802,7 @@ def get_latest_miab_version():
from socket import timeout
try:
return re.search(b'TAG=(.*)', urlopen("https://mailinabox.email/setup.sh?ping=1", timeout=5).read()).group(1).decode("utf8")
return re.search(b'TAG=(.*)', urlopen("https://raw.githubusercontent.com/ddavness/power-mailinabox/master/setup/bootstrap.sh", timeout=5).read()).group(1).decode("utf8")
except (HTTPError, URLError, timeout):
return None