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 b59e1ef4..8b16339f 100644
--- a/src/local/client.nim
+++ b/src/local/client.nim
@@ -890,7 +890,7 @@ proc newClient*(config: Config; forkserver: ForkServer; jsctx: JSContext):
   JS_SetModuleLoaderFunc(jsrt, normalizeModuleName, clientLoadJSModule, nil)
   let pager = newPager(config, forkserver, jsctx)
   let loader = forkserver.newFileLoader(LoaderConfig(
-    urimethodmap: config.getURIMethodMap(),
+    urimethodmap: config.external.urimethodmap,
     w3mCGICompat: config.external.w3m_cgi_compat,
     cgiDir: seq[string](config.external.cgi_dir),
     tmpdir: config.external.tmpdir