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{
|
VALID_MIME_TYPES = %w{
|
||||||
application/epub
|
application/epub
|
||||||
application/epub+zip
|
application/epub+zip
|
||||||
application/font-sfnt
|
|
||||||
application/javascript
|
|
||||||
application/json
|
application/json
|
||||||
application/octet-stream
|
application/octet-stream
|
||||||
application/opensearchdescription+xml
|
application/opensearchdescription+xml
|
||||||
|
@ -21,10 +19,13 @@ class Site < Sequel::Model
|
||||||
application/rss+xml
|
application/rss+xml
|
||||||
application/vnd.ms-fontobject
|
application/vnd.ms-fontobject
|
||||||
application/vnd.ms-opentype
|
application/vnd.ms-opentype
|
||||||
application/x-elc
|
|
||||||
application/x-font-ttf
|
|
||||||
application/xml
|
application/xml
|
||||||
audio/midi
|
audio/midi
|
||||||
|
font/otf
|
||||||
|
font/sfnt
|
||||||
|
font/ttf
|
||||||
|
font/woff
|
||||||
|
font/woff2
|
||||||
image/apng
|
image/apng
|
||||||
image/avif
|
image/avif
|
||||||
image/gif
|
image/gif
|
||||||
|
@ -38,10 +39,10 @@ class Site < Sequel::Model
|
||||||
image/x-xcf
|
image/x-xcf
|
||||||
message/rfc822
|
message/rfc822
|
||||||
text/cache-manifest
|
text/cache-manifest
|
||||||
text/cache-manifest
|
|
||||||
text/css
|
text/css
|
||||||
text/csv
|
text/csv
|
||||||
text/html
|
text/html
|
||||||
|
text/javascript
|
||||||
text/plain
|
text/plain
|
||||||
text/tsv
|
text/tsv
|
||||||
text/xml
|
text/xml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue