From 6ba8efaa113dbb780e7ab95cf15d82ad7eff5ff4 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Thu, 11 Feb 2016 21:04:15 -0800 Subject: [PATCH] RSS file support --- models/site.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/models/site.rb b/models/site.rb index 92a2c0b0..ecc991e6 100644 --- a/models/site.rb +++ b/models/site.rb @@ -30,10 +30,11 @@ class Site < Sequel::Model application/xml audio/midi text/cache-manifest + application/rss+xml } 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 + 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 } VALID_EDITABLE_EXTENSIONS = %w{