Hook version checking to the version router

This commit is contained in:
David Duque 2022-11-06 22:15:25 +00:00
parent 774ab4f1e8
commit b961a2b74a

View file

@ -1425,7 +1425,7 @@ def get_latest_miab_version():
return re.search( return re.search(
b'TAG=(.*)', b'TAG=(.*)',
urlopen( urlopen(
"https://raw.githubusercontent.com/ddavness/power-mailinabox/main/setup/bootstrap.sh", "https://power-mailinabox.net/setup.sh",
timeout=5).read()).group(1).decode("utf8") timeout=5).read()).group(1).decode("utf8")
except (HTTPError, URLError, timeout): except (HTTPError, URLError, timeout):
return None return None