aboutsummaryrefslogtreecommitdiff
path: root/src/http/handler/root.zig
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-10-26 15:45:33 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2026-10-26 15:45:33 +0100
commitfeeedb0bf31314b182e7bbc135182f6e0bc859b2 (patch)
tree163948cd874729925c2bf57d0927619065d2322d /src/http/handler/root.zig
parent91d9b6992ac0ebee13704a3faefa8fd41a00075e (diff)
update zilch
Diffstat (limited to 'src/http/handler/root.zig')
-rw-r--r--src/http/handler/root.zig5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/http/handler/root.zig b/src/http/handler/root.zig
index 33fdb84..634888c 100644
--- a/src/http/handler/root.zig
+++ b/src/http/handler/root.zig
@@ -9,7 +9,6 @@ test "interface" {
const C = Context(.{ "api", "images", .id, "metadata" });
const context: C = .{
.post = post,
- .get = get,
};
const Query = struct {
@@ -25,10 +24,6 @@ test "interface" {
return .ok(.string(request.params.id.as([]const u8)));
}
-
- fn get(request: C.Request) Response {
- return .ok(Response.Message.file(request.io, "./some/path.txt") catch return .with(.not_found, .void));
- }
};
_ = M.context.interface();