Skip to content

Commit

Permalink
epub, gltf whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
kyledrake committed Oct 15, 2017
1 parent 115580a commit d0936bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion models/site.rb
Expand Up @@ -35,10 +35,11 @@ class Site < Sequel::Model
application/x-elc
image/webp
image/x-xcf
application/epub+zip
}

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
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
}

VALID_EDITABLE_EXTENSIONS = %w{
Expand Down

0 comments on commit d0936bc

Please sign in to comment.