diff --git a/src/http/Server.zig b/src/http/Server.zig index 569aff1..8a3d002 100644 --- a/src/http/Server.zig +++ b/src/http/Server.zig @@ -33,6 +33,8 @@ pub fn init( .port = port, }, ctx); + // We won't use actual middleware for rate limiting here because we only have + // a couple routes to protect with rate limiting var router = try httpz_server.router(.{}); router.get("/", handleWeatherRoot, .{}); router.get("/:location", handleWeatherLocation, .{});