From 1ad20de96d149231571df0ea204901f31a7abaab Mon Sep 17 00:00:00 2001 From: Winterhuman <86165318+Winterhuman@users.noreply.github.com> Date: Wed, 9 Aug 2023 15:49:45 +0000 Subject: [PATCH] Add `image/apng` and `.apng` to valid image types --- models/site.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/models/site.rb b/models/site.rb index a0cc7290..74977ff1 100644 --- a/models/site.rb +++ b/models/site.rb @@ -13,6 +13,7 @@ class Site < Sequel::Model text/css application/javascript image/png + image/apng image/jpeg image/gif image/svg @@ -44,7 +45,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 avif xcf epub gltf bin webmanifest knowl atom opml rdf map gpg resolveHandle + html htm txt text css js jpg jpeg png apng 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{