use https

This commit is contained in:
j 2019-01-20 16:46:58 +05:30
parent cffffbde1c
commit 54492489b9
4 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ Install
on Mac OS X download this:
http://downloads.openmedialibrary.com/Open%20Media%20Library.dmg
https://downloads.openmedialibrary.com/Open%20Media%20Library.dmg
Networking
----------

View file

@ -33,7 +33,7 @@ def get_platform():
class Install(Thread):
base_url = 'http://downloads.openmedialibrary.com/'
base_url = 'https://downloads.openmedialibrary.com/'
status = {}
failed = False

View file

@ -48,7 +48,7 @@ server_defaults = {
'node_address': '',
'extract_text': True,
'localnode_discovery': True,
'release_url': 'http://downloads.openmedialibrary.com/release.json',
'release_url': 'https://downloads.openmedialibrary.com/release.json',
'pull_interval': 60000
}

View file

@ -82,7 +82,7 @@ def get(url, filename=None):
def check():
if settings.release:
release_data = get(settings.server.get('release_url',
'http://downloads.openmedialibrary.com/release.json'))
'https://downloads.openmedialibrary.com/release.json'))
release = json.loads(release_data.decode('utf-8'))
old = current_version('openmedialibrary')
new = release['modules']['openmedialibrary']['version']