aboutsummaryrefslogtreecommitdiff
path: root/req.ha
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-15 16:58:28 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-15 16:58:28 +0800
commit03122a39f821721cbf0cbb8d8d362b84bd6d4601 (patch)
treef5c8740999756b19438ed5d40da75dcf1a92fa44 /req.ha
parentHandle invalid URIs by reporting back to the user (diff)
downloadforge-03122a39f821721cbf0cbb8d8d362b84bd6d4601.tar.gz
forge-03122a39f821721cbf0cbb8d8d362b84bd6d4601.tar.zst
forge-03122a39f821721cbf0cbb8d8d362b84bd6d4601.zip
Remove the "path segments" section in index.htmpl
Diffstat (limited to '')
-rw-r--r--req.ha2
1 files changed, 1 insertions, 1 deletions
diff --git a/req.ha b/req.ha
index 3d2e2e1..3329670 100644
--- a/req.ha
+++ b/req.ha
@@ -34,7 +34,7 @@ fn handlereq(conn: io::handle, request: *http::request) (void | io::error | nome
if (len(segments) == 0) {
start_response(conn, 200, "text/html")?;
- return tp_index(conn, segments);
+ return tp_index(conn);
};
if (segments[0] == ":") {