diff --git a/http/http.go b/http/http.go index 88acea75..0de633b8 100644 --- a/http/http.go +++ b/http/http.go @@ -27,7 +27,7 @@ func NewHandler( r := mux.NewRouter() r.Use(func(next http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Content-Security-Policy", `default-src 'self'`) + w.Header().Set("Content-Security-Policy", `default-src 'self'; style-src 'unsafe-inline';`) next.ServeHTTP(w, r) }) })