summaryrefslogtreecommitdiffstats
path: root/activities/models/post_attachment.py
diff options
context:
space:
mode:
Diffstat (limited to 'activities/models/post_attachment.py')
-rw-r--r--activities/models/post_attachment.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/activities/models/post_attachment.py b/activities/models/post_attachment.py
index 7feaba5..932ae65 100644
--- a/activities/models/post_attachment.py
+++ b/activities/models/post_attachment.py
@@ -77,13 +77,13 @@ class PostAttachment(StatorModel):
elif self.file:
return self.file.url
else:
- return self.remote_url
+ return f"/proxy/post_attachment/{self.pk}/"
def full_url(self):
if self.file:
return self.file.url
else:
- return self.remote_url
+ return f"/proxy/post_attachment/{self.pk}/"
### ActivityPub ###