aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig
index 1a66b63..df0c061 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -4,9 +4,11 @@
//! but also the actual running of the server / webapp.
const std = @import("std");
+const http = @import("http");
pub fn main(init: std.process.Init) !void {
- _ = init;
+ var server: http.Server = try .init(init.gpa, try .parseLiteral("127.0.0.1:8080"));
+ try server.serve();
}
test {