mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Use SSL/TLS to fetch app list
for christ's sake
This commit is contained in:
parent
b2b1fc7d80
commit
2b7b37d3e3
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ def app_fetchlist(url=None, name=None):
|
||||||
|
|
||||||
Keyword argument:
|
Keyword argument:
|
||||||
name -- Name of the list (default yunohost)
|
name -- Name of the list (default yunohost)
|
||||||
url -- URL of remote JSON list (default http://app.yunohost.org/list.json)
|
url -- URL of remote JSON list (default https://app.yunohost.org/list.json)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
# Create app path if not exists
|
# Create app path if not exists
|
||||||
|
@ -74,7 +74,7 @@ def app_fetchlist(url=None, name=None):
|
||||||
except OSError: os.makedirs(repo_path)
|
except OSError: os.makedirs(repo_path)
|
||||||
|
|
||||||
if url is None:
|
if url is None:
|
||||||
url = 'http://app.yunohost.org/list.json'
|
url = 'https://app.yunohost.org/list.json'
|
||||||
name = 'yunohost'
|
name = 'yunohost'
|
||||||
else:
|
else:
|
||||||
if name is None:
|
if name is None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue