new validation to create href

merge-requests/43/head
elena 2022-11-15 11:47:04 +00:00
parent 0b03efc73e
commit 97b4916983
1 changed files with 1 additions and 1 deletions

View File

@ -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"]