about summary refs log tree commit diff stats
path: root/src/main.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-08-26 15:00:06 +0200
committerbptato <nincsnevem662@gmail.com>2023-08-26 15:00:06 +0200
commit2de2e74b954919883178d46ee7ec63fbb1951b58 (patch)
treeba874de6e86b12c05ab5b7530ba1241ce185306d /src/main.nim
parente5d170aa66a9fdc2ba2258f42d054d7d998e5915 (diff)
downloadchawan-2de2e74b954919883178d46ee7ec63fbb1951b58.tar.gz
config: fix overriding default headers
* simplify ActionMap reading
* introduce separate case for Table
Diffstat (limited to 'src/main.nim')
-rw-r--r--src/main.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.nim b/src/main.nim
index be636dcb..f4dcaf08 100644
--- a/src/main.nim
+++ b/src/main.nim
@@ -147,8 +147,6 @@ if pages.len == 0 and not conf.start.headless:
   if stdin.isatty:
     help(1)
 
-conf.page = constructActionTable(conf.page)
-conf.line = constructActionTable(conf.line)
 forks.loadForkServerConfig(conf)
 
 let c = newClient(conf, forks, getpid())