mirror of
https://github.com/neocities/neocities.git
synced 2025-07-20 09:36:00 +02:00
fixes for mime type changes
This commit is contained in:
parent
0704521d4a
commit
2831d2fd77
1 changed files with 6 additions and 5 deletions
|
@ -10,8 +10,6 @@ class Site < Sequel::Model
|
|||
VALID_MIME_TYPES = %w{
|
||||
application/epub
|
||||
application/epub+zip
|
||||
application/font-sfnt
|
||||
application/javascript
|
||||
application/json
|
||||
application/octet-stream
|
||||
application/opensearchdescription+xml
|
||||
|
@ -21,10 +19,13 @@ class Site < Sequel::Model
|
|||
application/rss+xml
|
||||
application/vnd.ms-fontobject
|
||||
application/vnd.ms-opentype
|
||||
application/x-elc
|
||||
application/x-font-ttf
|
||||
application/xml
|
||||
audio/midi
|
||||
font/otf
|
||||
font/sfnt
|
||||
font/ttf
|
||||
font/woff
|
||||
font/woff2
|
||||
image/apng
|
||||
image/avif
|
||||
image/gif
|
||||
|
@ -38,10 +39,10 @@ class Site < Sequel::Model
|
|||
image/x-xcf
|
||||
message/rfc822
|
||||
text/cache-manifest
|
||||
text/cache-manifest
|
||||
text/css
|
||||
text/csv
|
||||
text/html
|
||||
text/javascript
|
||||
text/plain
|
||||
text/tsv
|
||||
text/xml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue