about summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-12-15 19:06:19 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-15 19:07:27 +0100
commitfbae4ab9127dc4dd9a707c27f8c0bf25a8289e7d (patch)
treefde09598259137a373b7fd860e1cddfec7e3f6f7 /res
parentdab0d1cd21e216da5551e807489a704ae7b3cb42 (diff)
downloadchawan-fbae4ab9127dc4dd9a707c27f8c0bf25a8289e7d.tar.gz
config: allow overriding default prepended scheme
Diffstat (limited to 'res')
-rw-r--r--res/config.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/config.toml b/res/config.toml
index 3b4cefcd..85ac9aa8 100644
--- a/res/config.toml
+++ b/res/config.toml
@@ -37,7 +37,8 @@ cgi-dir = "${%CHA_LIBEXEC_DIR}/cgi-bin"
 
 [network]
 max-redirect = 10
-prepend-https = true
+prepend-scheme = "https://"
+prepend-https = true # deprecated, kept only for backwards-compatibility
 default-headers = {
 	User-Agent = "chawan",
 	Accept = "text/html,text/*;q=0.5",