From b6a759d036fb9d6b1458001f9efb26c2074dcf28 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Sun, 8 Nov 2015 21:00:30 -0800 Subject: [PATCH] less upload and rendering --- models/site.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/site.rb b/models/site.rb index 6f15772e..f8cc90d8 100644 --- a/models/site.rb +++ b/models/site.rb @@ -33,11 +33,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 + 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 } VALID_EDITABLE_EXTENSIONS = %w{ - html htm txt js css md manifest + html htm txt js css md manifest less } MINIMUM_PASSWORD_LENGTH = 5