From 7b43c9270a4a8b727f87c2b23f7c61520cdc3734 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 14 Mar 2025 17:17:30 +0800 Subject: Remove extra space --- main.ha | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)?; -- cgit v1.2.3