From 26e6684674d56e01fdfc67c2e0ad57c331d8d0ab Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 1 Aug 2024 17:05:36 +0200 Subject: fix display of cv --- internal/server/server.go | 1 - 1 file changed, 1 deletion(-) (limited to 'internal') diff --git a/internal/server/server.go b/internal/server/server.go index 0bbfba4..5c92139 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -75,7 +75,6 @@ func applyDevModeOverrides(config *cfg.Config, runtimeConfig *Config) { } func updateCSPHashes(config *cfg.Config, r *builder.Result) { - clear(config.CSP.StyleSrc) for i, h := range r.Hashes { config.CSP.StyleSrc[i] = fmt.Sprintf("'%s'", h) } -- cgit 1.4.1