From ea927551ef799be5515f38390c60e8e10d5fad63 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Tue, 21 Mar 2023 09:47:33 -0500 Subject: [PATCH] add gpg to ext list and editable pgp/gpg --- models/site.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/site.rb b/models/site.rb index 855dc622..9e3927c3 100644 --- a/models/site.rb +++ b/models/site.rb @@ -43,11 +43,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 webmanifest knowl atom opml rdf map + 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 knowl atom opml rdf map gpg } VALID_EDITABLE_EXTENSIONS = %w{ - html htm txt js css scss md manifest less webmanifest xml json opml rdf svg + html htm txt js css scss md manifest less webmanifest xml json opml rdf svg gpg pgp } MINIMUM_PASSWORD_LENGTH = 5