Ignore S3 object metadata and use our own content-type header

This commit is contained in:
Andrey Antukh 2022-09-27 00:41:01 +02:00
parent 07601975ac
commit a868840132
2 changed files with 6 additions and 3 deletions

View file

@ -64,6 +64,7 @@
(yrs/response :status 307
:headers {"location" (str url)
"x-host" (cond-> host port (str ":" port))
"x-mtype" (:content-type mdata)
"cache-control" (str "max-age=" (inst-ms cache-max-age))}))
:fs