From 292e1bf1692091fa218ced45a8b49fc799a2759a Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Sun, 30 Jul 2023 22:05:36 +0100 Subject: Import server and router from ziggit to zigwebserver for reuse in other projects. --- src/main.zig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main.zig') diff --git a/src/main.zig b/src/main.zig index a37f6a0..54e6b4b 100644 --- a/src/main.zig +++ b/src/main.zig @@ -1,4 +1,5 @@ const std = @import("std"); +const zws = @import("zigwebserver.zig"); // extremely basic http file server pub fn main() !void { @@ -61,3 +62,7 @@ fn serve_error(res: *std.http.Server.Response, status: std.http.Status) !void { \\ {s} , .{phrase}); } + +test { + _ = zws; +} -- cgit v1.2.3-ZIG