aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-05-17 05:18:17 -0400
committertdro <tdro@noreply.example.com>2022-05-17 05:18:17 -0400
commitad9d53600a2ae61473506772af28a49e53c16081 (patch)
tree211bb92fb11e3f1452f0e04ae4d75eb33ea27d9b
parent0a44c68e19c30b98101f9e63b214501f5b58132f (diff)
downloadcanory-ad9d53600a2ae61473506772af28a49e53c16081.tar.gz
canory-ad9d53600a2ae61473506772af28a49e53c16081.tar.bz2
canory-ad9d53600a2ae61473506772af28a49e53c16081.zip
config: Default to no referrer policy0.2.17
-rw-r--r--config.json2
-rw-r--r--config.toml2
-rw-r--r--config.yaml2
-rw-r--r--themes/default/layouts/_default/home.sources.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/config.json b/config.json
index e523e53..0a0b91f 100644
--- a/config.json
+++ b/config.json
@@ -100,7 +100,7 @@
},
"csp": {
"upgrade": false,
- "referrer": "origin",
+ "referrer": "no-referrer",
"childsrc": [
"'self'"
],
diff --git a/config.toml b/config.toml
index 0f9e24f..a21f773 100644
--- a/config.toml
+++ b/config.toml
@@ -97,7 +97,7 @@ enableRobotsTXT = true
[params.csp]
upgrade = false
- referrer = "origin"
+ referrer = "no-referrer"
childsrc = ["'self'"]
fontsrc = ["'self'"]
formaction = ["'self'", "lite.duckduckgo.com"]
diff --git a/config.yaml b/config.yaml
index be1b7d8..b33206f 100644
--- a/config.yaml
+++ b/config.yaml
@@ -82,7 +82,7 @@ params:
logo: images/logo.png
csp:
upgrade: false
- referrer: origin
+ referrer: no-referrer
childsrc: ["'self'"]
fontsrc: ["'self'"]
formaction: ["'self'", lite.duckduckgo.com]
diff --git a/themes/default/layouts/_default/home.sources.html b/themes/default/layouts/_default/home.sources.html
index e37f53e..720f249 100644
--- a/themes/default/layouts/_default/home.sources.html
+++ b/themes/default/layouts/_default/home.sources.html
@@ -101,7 +101,7 @@
<footer>
<p>
- Canory Version: 0.1.1
+ Canory Version: 0.2.17
&middot; Dictionary Access by Paul Lutus: <a href="https://arachnoid.com/javascript/dictionary_access.js">GPLv2+ License</a>
&middot; Feather Icons by Cole Bemis: <a href="https://github.com/feathericons/feather/blob/8b5d6802fa8fd1eb3924b465ff718d2fa8d61efe/LICENSE">MIT License</a>
&middot; Tabler Icons by PaweĊ‚ Kuna: <a href="https://github.com/tabler/tabler-icons/blob/60f39297d0f785f2e8635faca6857b2260b2d164/LICENSE">MIT License</a>