From d0936bce67536a0bb184abf4c5208a52eb27d437 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Sun, 15 Oct 2017 10:41:57 -0700 Subject: [PATCH] epub, gltf whitelist --- models/site.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/models/site.rb b/models/site.rb index 0131ed0f..d9173f5f 100644 --- a/models/site.rb +++ b/models/site.rb @@ -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{