This commit is contained in:
jr-k 2024-08-08 17:13:32 +02:00
parent d6de71b1e8
commit 23079fedd9

View File

@ -246,7 +246,7 @@ class ContentManager(ModelManager):
content_type=content.type.value, content_type=content.type.value,
content_id=content.id content_id=content.id
).strip('/') ).strip('/')
).strip('/') )
elif content.type == ContentType.URL: elif content.type == ContentType.URL:
location = 'http://' + content.location if not content.location.startswith('http') else content.location location = 'http://' + content.location if not content.location.startswith('http') else content.location