This commit is contained in:
2026-01-02 16:01:35 +00:00
parent 2be370e379
commit cd5281030e
4 changed files with 295 additions and 54 deletions

View File

@@ -57,6 +57,7 @@ pub fn main() !void {
.server_name = zits.Server.createName(),
.version = "zits-master",
.max_payload = 1048576,
.headers = true,
};
if (serve_matches.getSingleValue("port")) |port| {
info.port = std.fmt.parseUnsigned(@TypeOf(info.port), port, 10) catch |err| std.process.fatal("Could not parse port ({s}): {}\n", .{ port, err });