about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-12-12 19:57:24 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-12 19:57:24 +0100
commit189e73f7092a69699f3a6ca39aa105d318baedd4 (patch)
treef363bc19211b30ee061a22c0c81bb03bb38558f4 /src/config
parent820f0f0f039252533133c3bd1037a73036815a45 (diff)
downloadchawan-189e73f7092a69699f3a6ca39aa105d318baedd4.tar.gz
local CGI improvements, move data: to cgi-bin
error codes are WIP, not final yet...
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/config.nim b/src/config/config.nim
index db4af966..3a14377f 100644
--- a/src/config/config.nim
+++ b/src/config/config.nim
@@ -411,6 +411,7 @@ const DefaultURIMethodMap = parseURIMethodMap("""
 finger:		cgi-bin:cha-finger?%s
 gemini:		cgi-bin:gmifetch?%s
 about:		cgi-bin:about
+data:		cgi-bin:data
 """)
 
 proc getURIMethodMap*(config: Config): URIMethodMap =