Merge pull request #135 from jetzig-framework/zig-build-fixes

Latest Zig changes accommodation (missed one)
This commit is contained in:
bobf 2024-12-22 13:16:44 +00:00 committed by GitHub
commit 5ebb60d759
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,8 +28,8 @@ const Server = @This();
pub fn init( pub fn init(
allocator: std.mem.Allocator, allocator: std.mem.Allocator,
env: jetzig.Environment, env: jetzig.Environment,
routes: []*jetzig.views.Route, routes: []const *const jetzig.views.Route,
custom_routes: []jetzig.views.Route, custom_routes: []const jetzig.views.Route,
job_definitions: []const jetzig.JobDefinition, job_definitions: []const jetzig.JobDefinition,
mailer_definitions: []const jetzig.MailerDefinition, mailer_definitions: []const jetzig.MailerDefinition,
mime_map: *jetzig.http.mime.MimeMap, mime_map: *jetzig.http.mime.MimeMap,