about summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-12-01 21:24:34 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-10 15:08:38 +0100
commite5a0fd6af4296f76987530a9566eb019307fa8bf (patch)
tree7002cc8d9772cd2bc4e78d7785a524eae791f5aa /res
parent3cadec11d0d8758c1a396ce77a61d5adab5bc6c1 (diff)
downloadchawan-e5a0fd6af4296f76987530a9566eb019307fa8bf.tar.gz
config: better path handling; fix array parsing bug
* Paths are now parsed through an unified code path with some useful
  additions like environment variable substitution.
* Fix a bug in parseConfigValue where strings would be appended to
  existing arrays (and not override them).
* Fix beforeLast calling afterLast for some reason.
* Add a default CGI directory.
Diffstat (limited to 'res')
-rw-r--r--res/config.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/config.toml b/res/config.toml
index 51be9b73..de5652a3 100644
--- a/res/config.toml
+++ b/res/config.toml
@@ -33,6 +33,7 @@ urimethodmap = [
 tmpdir = "/tmp/cha"
 editor = "vi %s +%d"
 w3m-cgi-compat = false
+cgi-dir = "${%CHA_BIN_DIR}/../libexec/cgi-bin"
 
 [network]
 max-redirect = 10