diff options
author | tdro <tdro@noreply.example.com> | 2022-10-06 16:53:02 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-10-06 16:53:02 -0400 |
commit | 2f18bda0de5f3ba1d75d601fcc536515995a4327 (patch) | |
tree | 48dbcbf7b50e23b01ae6ff40b75e04745541361b | |
parent | 5d1753b7c6d60c5eb981a702c8dd73837dbcccee (diff) | |
download | canory-0.11.2.tar.gz canory-0.11.2.tar.bz2 canory-0.11.2.zip |
config: Add base-uri content security0.11.2
See previous commit for configuration change.
-rw-r--r-- | config.json | 3 | ||||
-rw-r--r-- | config.toml | 1 | ||||
-rw-r--r-- | config.yaml | 1 | ||||
-rw-r--r-- | themes/default/layouts/shortcodes/version.html | 2 |
4 files changed, 6 insertions, 1 deletions
diff --git a/config.json b/config.json index 43ec38f..8959411 100644 --- a/config.json +++ b/config.json @@ -108,6 +108,9 @@ }, "csp": { "block-all-mixed-content": "", + "base-uri": [ + "'self'" + ], "child-src": [ "'self'" ], diff --git a/config.toml b/config.toml index 6b6fdcd..84b6aad 100644 --- a/config.toml +++ b/config.toml @@ -101,6 +101,7 @@ enableRobotsTXT = true [params.csp] block-all-mixed-content = "" + base-uri = ["'self'"] child-src = ["'self'"] connect-src = ["'self'"] default-src = ["'self'"] diff --git a/config.yaml b/config.yaml index d135044..1688d90 100644 --- a/config.yaml +++ b/config.yaml @@ -89,6 +89,7 @@ params: logo: data/media/logo.png csp: block-all-mixed-content: '' + base-uri: ["'self'"] child-src: ["'self'"] connect-src: ["'self'"] default-src: ["'self'"] diff --git a/themes/default/layouts/shortcodes/version.html b/themes/default/layouts/shortcodes/version.html index 482f0fb..cfe938d 100644 --- a/themes/default/layouts/shortcodes/version.html +++ b/themes/default/layouts/shortcodes/version.html @@ -1,4 +1,4 @@ -{{- $version := "0.11.1" -}} +{{- $version := "0.11.2" -}} {{- $number := default false (.Get "number" | default (.Get 0)) -}} {{- $clone := default false (.Get "clone" | default (.Get 1)) -}} |