From 97b49169837840647814eab4aa1ec3c752505416 Mon Sep 17 00:00:00 2001 From: elena Date: Tue, 15 Nov 2022 11:47:04 +0000 Subject: [PATCH] new validation to create href --- dd-sso/docker/api/src/api/lib/menu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dd-sso/docker/api/src/api/lib/menu.py b/dd-sso/docker/api/src/api/lib/menu.py index 65be8b2..e7d2b87 100644 --- a/dd-sso/docker/api/src/api/lib/menu.py +++ b/dd-sso/docker/api/src/api/lib/menu.py @@ -78,7 +78,7 @@ class Menu: apps_internal = [] for app in system["apps_internal"]: - if app["href"].startswith('/'): + if app["href"].startswith('/') and 'subdomain' in app: app["href"] = ( "https://" + app["subdomain"]