From 6848dec5f48cb7f03de034133bd02b1fae00a801 Mon Sep 17 00:00:00 2001 From: cc1234475 <72312150+cc1234475@users.noreply.github.com> Date: Mon, 8 Jan 2024 00:45:55 +0000 Subject: [PATCH] Add CSP to plugin from the yaml file (#4424) --- pkg/plugin/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/plugin/config.go b/pkg/plugin/config.go index 497d6a874..ef817c369 100644 --- a/pkg/plugin/config.go +++ b/pkg/plugin/config.go @@ -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(),