about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-12-12 21:36:30 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-12 21:39:42 +0100
commit1df10adfe7eb20bc460eeb0e5a8e242970642c58 (patch)
treeb33ff0e21bcb4c621b959ebb1f05b6c534c9e879 /src/config
parenta6166c4dfc7b028761a884127cc78aeb0056ed8d (diff)
downloadchawan-1df10adfe7eb20bc460eeb0e5a8e242970642c58.tar.gz
Move out ftp: protocol; fix some local CGI bugs
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/config.nim b/src/config/config.nim
index 269c37d5..79561c3a 100644
--- a/src/config/config.nim
+++ b/src/config/config.nim
@@ -413,6 +413,9 @@ gemini:		cgi-bin:gmifetch?%s
 about:		cgi-bin:about
 data:		cgi-bin:data
 file:		cgi-bin:file?%s
+ftp:		cgi-bin:ftp?%s
+sftp:		cgi-bin:sftp?%s
+ftps:		cgi-bin:ftps?%s
 """)
 
 proc getURIMethodMap*(config: Config): URIMethodMap =