diff options
author | bptato <nincsnevem662@gmail.com> | 2023-10-01 17:44:48 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-10-01 18:06:26 +0200 |
commit | 136d8d9e5c9a2a0414e4934cc928bca23bfe944b (patch) | |
tree | a35f3e30bc9839b612d7382a017c460fb335fd5b /src/config | |
parent | 478db794b90ebd205a6a191369581adbd440fd4e (diff) | |
download | chawan-136d8d9e5c9a2a0414e4934cc928bca23bfe944b.tar.gz |
Add w3m-cgi-compat option
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/config.nim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/config/config.nim b/src/config/config.nim index fb0218ce..0df6285a 100644 --- a/src/config/config.nim +++ b/src/config/config.nim @@ -91,6 +91,7 @@ type mime_types* {.jsgetset.}: seq[string] cgi_dir* {.jsgetset.}: seq[string] urimethodmap* {.jsgetset.}: seq[string] + w3m_cgi_compat* {.jsgetset.}: bool InputConfig = object vi_numeric_prefix* {.jsgetset.}: bool @@ -232,7 +233,8 @@ proc getBufferConfig*(config: Config, location: URL, cookiejar: CookieJar, cookiejar: cookiejar, proxy: proxy, cgiDir: config.external.cgi_dir, - urimethodmap: urimethodmap + urimethodmap: urimethodmap, + w3mCGICompat: config.external.w3m_cgi_compat ) ) |