diff options
author | bptato <nincsnevem662@gmail.com> | 2023-12-12 20:28:54 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-12-12 20:49:30 +0100 |
commit | a6166c4dfc7b028761a884127cc78aeb0056ed8d (patch) | |
tree | e19cda9ba3e46fa4cf42aa383c3530d472282c10 /src/config | |
parent | 1dcb9cf6567145a0d3705b95717ccbf37eac6140 (diff) | |
download | chawan-a6166c4dfc7b028761a884127cc78aeb0056ed8d.tar.gz |
Move out file: protocol handling to adapter/
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/config.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config/config.nim b/src/config/config.nim index 3a14377f..269c37d5 100644 --- a/src/config/config.nim +++ b/src/config/config.nim @@ -408,10 +408,11 @@ proc getMimeTypes*(config: Config): MimeTypes = return mimeTypes const DefaultURIMethodMap = parseURIMethodMap(""" -finger: cgi-bin:cha-finger?%s +finger: cgi-bin:cha-finger gemini: cgi-bin:gmifetch?%s about: cgi-bin:about data: cgi-bin:data +file: cgi-bin:file?%s """) proc getURIMethodMap*(config: Config): URIMethodMap = |