From a8e030624142368b5505186593a5722cd1d8ef31 Mon Sep 17 00:00:00 2001 From: Mervin Date: Tue, 4 Jun 2024 13:52:52 +0200 Subject: [PATCH] Added correct content-type to the uploaded photo's --- server/dal/src/storage_engine.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/server/dal/src/storage_engine.rs b/server/dal/src/storage_engine.rs index 24bd09a..d22477d 100644 --- a/server/dal/src/storage_engine.rs +++ b/server/dal/src/storage_engine.rs @@ -163,6 +163,7 @@ impl Storage { photo_quality, )) .body(byte_stream) + .content_type("image/webp") .send() .await?;