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
1 changed files with 1 additions and 1 deletions

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