Add AVIF images

This commit is contained in:
Winterhuman 2023-06-18 14:10:28 +00:00 committed by GitHub
parent dc33d70809
commit 5b449dc8e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,6 +35,7 @@ class Site < Sequel::Model
application/rss+xml
application/x-elc
image/webp
image/avif
image/x-xcf
application/epub
application/epub+zip
@ -43,7 +44,7 @@ class Site < Sequel::Model
}
VALID_EXTENSIONS = %w{
html htm txt text css js jpg jpeg png gif svg md markdown eot ttf woff woff2 json geojson csv tsv mf ico pdf asc key pgp xml mid midi manifest otf webapp less sass rss kml dae obj mtl scss webp xcf epub gltf bin webmanifest knowl atom opml rdf map gpg resolveHandle
html htm txt text css js jpg jpeg png gif svg md markdown eot ttf woff woff2 json geojson csv tsv mf ico pdf asc key pgp xml mid midi manifest otf webapp less sass rss kml dae obj mtl scss webp avif xcf epub gltf bin webmanifest knowl atom opml rdf map gpg resolveHandle
}
VALID_EDITABLE_EXTENSIONS = %w{