Fix: Add text/html mimetype to handle s3 logs 08/68508/1 v0.35.6
authorpmikus <peter.mikus@protonmail.ch>
Tue, 10 Aug 2021 11:31:16 +0000 (11:31 +0000)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 11 Aug 2021 12:55:27 +0000 (22:55 +1000)
commit0ef6527a0b61c5882bd3176e3c9ceab4511ff4f9
tree9e14469f8c9440679c7622b8a110eceafc03cb27
parent732d9bb9cec58fe981c5e665fc5f7e99533dd753
Fix: Add text/html mimetype to handle s3 logs

Currently html files in S3 bucket are not rendered properly
via Cloudfront as they are sent with text/plain content-type.
This patch is setting up content-tyepe for html for text/html.

Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: Id8a26f77446890320b212522236b68552d73c425
lftools/deploy.py
releasenotes/notes/s3-html-60b86a77657a7bb4.yaml [new file with mode: 0644]