forked from AkkomaGang/akkoma
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:
parent
033b7b04e0
commit
36f4f18aa5
1 changed files with 3 additions and 0 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue