Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

chore: adding notes to CSP

goenningb2923e8bb6a9
diff --git a/app/pkg/web/engine.go b/app/pkg/web/engine.go
index 182fd113e..42ab2f9a2 100644
--- a/app/pkg/web/engine.go
+++ b/app/pkg/web/engine.go
@@ -23,6 +23,8 @@ import (
cache "github.com/patrickmn/go-cache"
)
+// fonts.gstatic.com and fonts.googleapis.com are required for Custom CSS to work with Google Fonts
+
var (
cspBase = "base-uri 'self'"
cspDefault = "default-src 'self'"