From 8044c700d4c3b532f25b2b53d3483a9c08ac1f0d Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 5 Aug 2026 17:33:27 +0200 Subject: [PATCH] bugfix --- teleforma/models/core.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/teleforma/models/core.py b/teleforma/models/core.py index 7ad21b60..4cb98a00 100644 --- a/teleforma/models/core.py +++ b/teleforma/models/core.py @@ -1138,8 +1138,7 @@ class Media(MediaBase): url = poster_file.url if not "http" in url: domain = Site.objects.get_current().domain - path = self.get_absolute_url() - url = f'https://{domain}{path}' + url = f'https://{domain}{url}' return url def get_file(self): -- 2.47.3