From bc93a2e0797c78bb522870e88c1ccff00180a8f6 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 5 Aug 2024 21:08:06 +0200 Subject: [PATCH] portalapi: we don't need absolute URLs for app logos ? (This ain't working when enabling the 'show other domains apps' because of CSP) --- src/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.py b/src/app.py index c95ce904b..f9a6ed8c8 100644 --- a/src/app.py +++ b/src/app.py @@ -1734,7 +1734,7 @@ def app_ssowatconf(): # Also related to "people will want to customize those.." app_catalog_info = apps_catalog.get(app_id.split("__")[0]) 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