1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-17 18:49:15 +00:00

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
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

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