mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Whitelist webp images
This commit is contained in:
parent
0428a1246e
commit
e43e7d973a
1 changed files with 2 additions and 1 deletions
|
@ -32,10 +32,11 @@ class Site < Sequel::Model
|
|||
text/cache-manifest
|
||||
application/rss+xml
|
||||
application/x-elc
|
||||
image/webp
|
||||
}
|
||||
|
||||
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
|
||||
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
|
||||
}
|
||||
|
||||
VALID_EDITABLE_EXTENSIONS = %w{
|
||||
|
|
Loading…
Add table
Reference in a new issue