aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/io/about.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/io/about.nim b/src/io/about.nim
index f90e0c36..674885ba 100644
--- a/src/io/about.nim
+++ b/src/io/about.nim
@@ -5,18 +5,18 @@ import io/request
import ips/serialize
import types/url
-const cha = staticRead"res/cha.html"
+const chawan = staticRead"res/chawan.html"
const Headers = {
"Content-Type": "text/html"
}.toTable()
proc loadAbout*(request: Request, ostream: Stream) =
- if request.url.pathname == "cha":
+ if request.url.pathname == "chawan":
ostream.swrite(0)
ostream.swrite(200) # ok
let headers = newHeaderList(Headers)
ostream.swrite(headers)
- ostream.write(cha)
+ ostream.write(chawan)
else:
ostream.swrite(-1)
ostream.flush()