fix display of cv
Alan Pearce alan@alanpearce.eu
Thu, 01 Aug 2024 17:05:36 +0200
2 files changed, 2 insertions(+), 1 deletions(-)
M config.toml → config.toml
@@ -53,6 +53,8 @@ ## index.html style "'sha256-dCSzNS1o8vygl80V2G2nPTiSOUNvyDnW+06hHS4ZdHQ='", ## atom.xml style "'sha256-CFhPA4p8skr5MyhReF+Tk2GzmYzXdECg8zm+o7EOVPI=", + ## cv style + "'sha256-FzrPQ6x2ugtwEN5peA8OqpIvrV3uXqkpfUMHG8P2uT0='", ] frame-ancestors = [ "https://kagi.com",
M internal/server/server.go → internal/server/server.go
@@ -75,7 +75,6 @@ } } 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) }