mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
portalapi: we don't need absolute URLs for app logos ? (This ain't working when enabling the 'show other domains apps' because of CSP)
This commit is contained in:
parent
656e5c75d1
commit
bc93a2e079
1 changed files with 1 additions and 1 deletions
|
@ -1734,7 +1734,7 @@ def app_ssowatconf():
|
||||||
# Also related to "people will want to customize those.."
|
# Also related to "people will want to customize those.."
|
||||||
app_catalog_info = apps_catalog.get(app_id.split("__")[0])
|
app_catalog_info = apps_catalog.get(app_id.split("__")[0])
|
||||||
if app_catalog_info and "logo_hash" in app_catalog_info:
|
if app_catalog_info and "logo_hash" in app_catalog_info:
|
||||||
app_portal_info["logo"] = f"//{app_portal_domain}/yunohost/sso/applogos/{app_catalog_info['logo_hash']}.png"
|
app_portal_info["logo"] = f"/yunohost/sso/applogos/{app_catalog_info['logo_hash']}.png"
|
||||||
|
|
||||||
portal_domains_apps[app_portal_domain][app_id] = app_portal_info
|
portal_domains_apps[app_portal_domain][app_id] = app_portal_info
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue