aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-14 17:17:30 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-14 17:17:30 +0800
commit7b43c9270a4a8b727f87c2b23f7c61520cdc3734 (patch)
tree52d81833dc789e4183b652751e5b5b911339b4a2
parentAdd {{ " " }} to footer to work around htmpl's whitespace handling (diff)
downloadforge-7b43c9270a4a8b727f87c2b23f7c61520cdc3734.tar.gz
forge-7b43c9270a4a8b727f87c2b23f7c61520cdc3734.tar.zst
forge-7b43c9270a4a8b727f87c2b23f7c61520cdc3734.zip
Remove extra space
-rw-r--r--main.ha2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.ha b/main.ha
index b52f111..39616b5 100644
--- a/main.ha
+++ b/main.ha
@@ -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)?;