From 5aa9a567f87da6cde66dfc6ff2ed60d2c3ff33d3 Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Mon, 26 Aug 2019 09:16:00 +1000 Subject: [PATCH] FEATURE: allow themes to upload js files as assets This helps unlock the ability for themes to defer load larger js payloads. The change is safe as themes are allowed to include inline js anyway. --- config/site_settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/site_settings.yml b/config/site_settings.yml index 2ca78030f9..e4aca2b7b2 100644 --- a/config/site_settings.yml +++ b/config/site_settings.yml @@ -1061,7 +1061,7 @@ files: default: 50000 max: 1024000 theme_authorized_extensions: - default: "jpg|jpeg|png|woff|woff2|svg|eot|ttf|otf|gif" + default: "jpg|jpeg|png|woff|woff2|svg|eot|ttf|otf|gif|js" type: list list_type: compact authorized_extensions: