mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user