diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-14 17:17:30 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-14 17:17:30 +0800 |
commit | 7b43c9270a4a8b727f87c2b23f7c61520cdc3734 (patch) | |
tree | 52d81833dc789e4183b652751e5b5b911339b4a2 /main.ha | |
parent | Add {{ " " }} to footer to work around htmpl's whitespace handling (diff) | |
download | forge-7b43c9270a4a8b727f87c2b23f7c61520cdc3734.tar.gz forge-7b43c9270a4a8b727f87c2b23f7c61520cdc3734.tar.zst forge-7b43c9270a4a8b727f87c2b23f7c61520cdc3734.zip |
Remove extra space
Diffstat (limited to 'main.ha')
-rw-r--r-- | main.ha | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ export fn main() void = { }; }; -export fn handlereq(conn: io::handle, request: *http::request) (void | io::error | nomem) = { +export fn handlereq(conn: io::handle, request: *http::request) (void | io::error | nomem) = { htmpl::write(conn, "HTTP/1.1 200 OK\r\n")?; htmpl::write(conn, "Content-Type: text/html\r\n\r\n")?; tp_index(conn)?; |