From 350f9512e650a444bdb9a835f91013883e4f920c Mon Sep 17 00:00:00 2001 From: Bob Farrell Date: Sun, 22 Dec 2024 12:57:52 +0000 Subject: [PATCH] Latest Zig changes accommodation (missed one) --- src/jetzig/http/Server.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jetzig/http/Server.zig b/src/jetzig/http/Server.zig index 60f3a6f..4ba090c 100644 --- a/src/jetzig/http/Server.zig +++ b/src/jetzig/http/Server.zig @@ -28,8 +28,8 @@ const Server = @This(); pub fn init( allocator: std.mem.Allocator, env: jetzig.Environment, - routes: []*jetzig.views.Route, - custom_routes: []jetzig.views.Route, + routes: []const *const jetzig.views.Route, + custom_routes: []const jetzig.views.Route, job_definitions: []const jetzig.JobDefinition, mailer_definitions: []const jetzig.MailerDefinition, mime_map: *jetzig.http.mime.MimeMap,