From a5d331082c0178fa75dfb9417c2bb80e9fb0bd2a Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Fri, 23 Mar 2018 13:07:40 -0700 Subject: [PATCH] add webmanifest to ext whitelist --- models/site.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/site.rb b/models/site.rb index 3b3856e0..fafc7796 100644 --- a/models/site.rb +++ b/models/site.rb @@ -39,11 +39,11 @@ class Site < Sequel::Model } 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 epub gltf bin + 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 bin webmanifest } VALID_EDITABLE_EXTENSIONS = %w{ - html htm txt js css scss md manifest less + html htm txt js css scss md manifest less webmanifest } MINIMUM_PASSWORD_LENGTH = 5