From dc1ffa1c8502ca1f9e067001b19c67a85ba9acce Mon Sep 17 00:00:00 2001 From: emielvdveen Date: Thu, 23 Nov 2023 15:21:11 +0100 Subject: [PATCH] Changed content type --- core/systems/feldspar/s3.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/systems/feldspar/s3.ex b/core/systems/feldspar/s3.ex index 3fd461a67..5d43a84a9 100644 --- a/core/systems/feldspar/s3.ex +++ b/core/systems/feldspar/s3.ex @@ -49,7 +49,8 @@ defmodule Systems.Feldspar.S3 do S3.put_object( Access.fetch!(settings, :bucket), "#{object_key(target)}/#{name}", - data + data, + content_type: "text/html" ) |> backend().request!() else