aboutsummaryrefslogtreecommitdiff
path: root/src/http/root.zig
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-06-06 09:38:56 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2026-06-06 09:38:56 +0200
commitf39dfd01ab06cf92a3bcad75fcb175a8242ec1b1 (patch)
tree124bd340e15eb83743845323a1769d4d56e6fade /src/http/root.zig
parent377e7ca748391bfeab28e8d399ef400b19682ed0 (diff)
Remove Server struct and replace it with single function
Diffstat (limited to 'src/http/root.zig')
-rw-r--r--src/http/root.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/root.zig b/src/http/root.zig
index 88d1420..a1cc95c 100644
--- a/src/http/root.zig
+++ b/src/http/root.zig
@@ -2,7 +2,7 @@
const std = @import("std");
-pub const Server = @import("Server.zig");
+pub const serve = @import("serve.zig").serve;
pub const handler = @import("handler/root.zig");
pub const Response = @import("Response.zig");
pub const Route = @import("Route.zig");