Add CSP to plugin from the yaml file (#4424)

This commit is contained in:
cc1234475 2024-01-08 00:45:55 +00:00 committed by GitHub
parent bd7d4ac7ff
commit 6848dec5f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -248,6 +248,7 @@ func (c Config) toPlugin() *Plugin {
ExternalCSS: c.UI.getExternalCSS(),
Javascript: c.UI.getJavascriptFiles(c),
CSS: c.UI.getCSSFiles(c),
CSP: c.UI.CSP,
Assets: c.UI.Assets,
},
Settings: c.getPluginSettings(),