Merge pull request #454 from Winterhuman/patch-1

Add AVIF images
This commit is contained in:
Kyle Drake 2023-07-19 16:30:41 -05:00 committed by GitHub
commit bf6f667741
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{