mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
commit
3da8cb3537
1 changed files with 6 additions and 5 deletions
|
@ -691,11 +691,12 @@ def app_ssowatconf():
|
||||||
|
|
||||||
skipped_uri=[]
|
skipped_uri=[]
|
||||||
apps={}
|
apps={}
|
||||||
for app in app_list()['Apps']:
|
for app in app_list()['Apps']:
|
||||||
with open(apps_setting_path + app['ID'] +'/settings.yml') as f:
|
if _is_installed(app['ID']):
|
||||||
app_settings = yaml.load(f)
|
with open(apps_setting_path + app['ID'] +'/settings.yml') as f:
|
||||||
if 'skipped_uris' in app_settings:
|
app_settings = yaml.load(f)
|
||||||
skipped_uri=[app_settings['domain'] + app_settings['path'][:-1] + item for item in app_settings['skipped_uris'].split(',')]
|
if 'skipped_uris' in app_settings:
|
||||||
|
skipped_uri=[app_settings['domain'] + app_settings['path'][:-1] + item for item in app_settings['skipped_uris'].split(',')]
|
||||||
|
|
||||||
for domain in domains:
|
for domain in domains:
|
||||||
skipped_uri.extend([domain +'/ynhadmin', domain +'/ynhapi'])
|
skipped_uri.extend([domain +'/ynhadmin', domain +'/ynhapi'])
|
||||||
|
|
Loading…
Reference in a new issue