From 0d8b7db2729d94338824c748901637c625c103b0 Mon Sep 17 00:00:00 2001 From: Tyler Kennedy Date: Wed, 14 Dec 2022 01:26:19 -0500 Subject: Set the content type and disposition of webp files uploaded to S3 --- activities/views/compose.py | 1 + 1 file changed, 1 insertion(+) (limited to 'activities') diff --git a/activities/views/compose.py b/activities/views/compose.py index e9092f7..8e3c96d 100644 --- a/activities/views/compose.py +++ b/activities/views/compose.py @@ -216,6 +216,7 @@ class ImageUpload(FormView): name=form.cleaned_data.get("description"), state=PostAttachmentStates.fetched, ) + attachment.file.save( main_file.name, main_file, -- cgit v1.2.3