From 5adef9adb9ddec88252cdfcde7d59a9662703e94 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Mon, 29 Apr 2024 11:48:09 -0500 Subject: [PATCH] whitelist glb --- models/site.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/models/site.rb b/models/site.rb index cee9150a..f824aef4 100644 --- a/models/site.rb +++ b/models/site.rb @@ -39,6 +39,7 @@ class Site < Sequel::Model image/x-icon image/x-xcf message/rfc822 + model/gltf-binary text/cache-manifest text/css text/csv @@ -50,7 +51,7 @@ class Site < Sequel::Model } VALID_EXTENSIONS = %w{ - html htm txt text css js jpg jpeg png apng 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 avif xcf epub gltf bin webmanifest knowl atom opml rdf map gpg resolveHandle pls yaml yml toml osdx mjs cjs ts + html htm txt text css js jpg jpeg png apng 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 avif xcf epub gltf bin webmanifest knowl atom opml rdf map gpg resolveHandle pls yaml yml toml osdx mjs cjs ts glb } VALID_EDITABLE_EXTENSIONS = %w{