about summary refs log tree commit diff stats
path: root/src/local/client.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/local/client.nim')
-rw-r--r--src/local/client.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local/client.nim b/src/local/client.nim
index 60bdf411..b59e1ef4 100644
--- a/src/local/client.nim
+++ b/src/local/client.nim
@@ -892,7 +892,7 @@ proc newClient*(config: Config; forkserver: ForkServer; jsctx: JSContext):
   let loader = forkserver.newFileLoader(LoaderConfig(
     urimethodmap: config.getURIMethodMap(),
     w3mCGICompat: config.external.w3m_cgi_compat,
-    cgiDir: pager.cgiDir,
+    cgiDir: seq[string](config.external.cgi_dir),
     tmpdir: config.external.tmpdir
   ))
   pager.setLoader(loader)