One (hopefully) last fix
This commit is contained in:
parent
a334970692
commit
39b2f37947
2 changed files with 2 additions and 2 deletions
|
@ -356,7 +356,7 @@ def image_serializer(value, alt):
|
|||
else:
|
||||
return None
|
||||
if not url[:4] == "http":
|
||||
url = "https://{:s}{:s}".format(DOMAIN, url)
|
||||
url = "https://{:s}/{:s}".format(DOMAIN, url)
|
||||
return activitypub.Document(url=url, name=alt)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue