aboutsummaryrefslogtreecommitdiff
path: root/main.ha
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.ha4
1 files changed, 1 insertions, 3 deletions
diff --git a/main.ha b/main.ha
index aa0364f..fc38f25 100644
--- a/main.ha
+++ b/main.ha
@@ -67,7 +67,5 @@ export fn main() void = {
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")?;
- htmpl::write(conn, "<!DOCTYPE html><html><body><h1>")?;
- htmpl::write_escape_html(conn, "Hey there <3")?;
- htmpl::write(conn, "</h1></body></html>")?;
+ tp_index(conn)?;
};