Skip to content

Commit

Permalink
Added correct content-type to the uploaded photo's
Browse files Browse the repository at this point in the history
  • Loading branch information
Mervin committed Jun 4, 2024
1 parent 4760379 commit a8e0306
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/dal/src/storage_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ impl Storage {
photo_quality,
))
.body(byte_stream)
.content_type("image/webp")
.send()
.await?;

Expand Down

0 comments on commit a8e0306

Please sign in to comment.