diff --git a/sdbs_infra/dashboard/views.py b/sdbs_infra/dashboard/views.py index b122e19..9ec8f93 100644 --- a/sdbs_infra/dashboard/views.py +++ b/sdbs_infra/dashboard/views.py @@ -100,7 +100,7 @@ class IndexView(TemplateView): for link_tag in link_tags: if rel in link_tag.attrs['rel']: href = link_tag.attrs['href'] - if netloc not in href and not (href.startswith("/") or href.startswith("http")): + if netloc not in href and not (href.startswith("//") or href.startswith("http")): image = base_url + (href if href.startswith("/") else f"/{href}") else: image = href