Add more image mimetypes to reverse proxy

Add JPEG-XL, AVIF, and WebP support to the reverse proxy. All three are
supported in WebKit browsers; the latter two are supported in Gecko and
Blink.
This commit is contained in:
Rohan Kumar 2023-11-01 17:47:52 -07:00
parent 033b7b04e0
commit 36f4f18aa5
Signed by: Seirdy
GPG key ID: 1E892DB2A5F84479

View file

@ -61,11 +61,14 @@ def default_cache_control_header, do: @default_cache_control_header
""" """
@inline_content_types [ @inline_content_types [
"image/avif",
"image/gif", "image/gif",
"image/jpeg", "image/jpeg",
"image/jpg", "image/jpg",
"image/jxl",
"image/png", "image/png",
"image/svg+xml", "image/svg+xml",
"image/webp",
"audio/mpeg", "audio/mpeg",
"audio/mp3", "audio/mp3",
"video/webm", "video/webm",