diff --git a/examples/endpoint/userweb.zig b/examples/endpoint/userweb.zig index 495a5867..6c6775f8 100644 --- a/examples/endpoint/userweb.zig +++ b/examples/endpoint/userweb.zig @@ -55,6 +55,7 @@ fn userIdFromPath(self: *Self, path: []const u8) ?usize { fn getUser(e: *zap.Endpoint, r: zap.Request) void { const self: *Self = @fieldParentPtr("ep", e); + if (r.path) |path| { // /users if (path.len == e.settings.path.len) { diff --git a/facil.io/build.zig.zon b/facil.io/build.zig.zon index 277ebf3f..3ed7ce9a 100644 --- a/facil.io/build.zig.zon +++ b/facil.io/build.zig.zon @@ -2,4 +2,3 @@ .name = "facil.io", .version = "0.0.12", } -