diff options
author | Alan Pearce | 2024-08-01 17:05:36 +0200 |
---|---|---|
committer | Alan Pearce | 2024-08-01 17:05:36 +0200 |
commit | 26e6684674d56e01fdfc67c2e0ad57c331d8d0ab (patch) | |
tree | e05755276659804cae8fca7304eae48371364b51 | |
parent | 2fffb59ecfcc7e9a7cd5fc1a4c7d5998ad1f6b64 (diff) | |
download | website-26e6684674d56e01fdfc67c2e0ad57c331d8d0ab.tar.lz website-26e6684674d56e01fdfc67c2e0ad57c331d8d0ab.tar.zst website-26e6684674d56e01fdfc67c2e0ad57c331d8d0ab.zip |
fix display of cv
-rw-r--r-- | config.toml | 2 | ||||
-rw-r--r-- | internal/server/server.go | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/config.toml b/config.toml index 3ea8fa4..8dd5efb 100644 --- a/config.toml +++ b/config.toml @@ -53,6 +53,8 @@ wildcard_domain = "aln.pe" "'sha256-dCSzNS1o8vygl80V2G2nPTiSOUNvyDnW+06hHS4ZdHQ='", ## atom.xml style "'sha256-CFhPA4p8skr5MyhReF+Tk2GzmYzXdECg8zm+o7EOVPI=", + ## cv style + "'sha256-FzrPQ6x2ugtwEN5peA8OqpIvrV3uXqkpfUMHG8P2uT0='", ] frame-ancestors = [ "https://kagi.com", 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) } |