diff --git a/README.md b/README.md index ee2d386..31b4ffa 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # Zuletzt **Zuletzt** gives you the statistics of your music listening habits. -Inspired by Last.fm, Maloja, and Lastfmstats.com. +Inspired by [Last.fm](https://last.fm), [Maloja](https://github.com/krateng/maloja), and [Lastfmstats.com](https://www.lastfmstats.com). -**Z**uletzt is written in **Z**ig as a means of learning the +**Z**uletzt is written with [**Z**ig](https://github.com/ziglang/zig) and [Jetzig](https://github.com/jetzig-framework/jetzig) as a means of learning the language, reintroducing myself to programming, and combining the functionality of the aforementioned inspirations. diff --git a/build.zig.zon b/build.zig.zon index 4d80a70..743dfa6 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -16,8 +16,8 @@ // internet connectivity. .dependencies = .{ .jetzig = .{ - .url = "https://github.com/jetzig-framework/jetzig/archive/800b72eeb9b146d4ee4901e164fa691dc5332fb5.tar.gz", - .hash = "122031827c1329f8dbd9135e7463c27cc09e9fcbbebde6f2a8411ee122984afe0a4c", + .url = "https://github.com/jetzig-framework/jetzig/archive/b94845a41587bb94a4127215989ff4b24c4f9642.tar.gz", + .hash = "12209d50e9cd675564840d2542e1472babaf18b594bb1d484bc786e926463358661d", }, .iguanas = .{ .url = "https://github.com/jetzig-framework/iguanas/archive/89c2abf29de0bc31054a9a6feac5a6a83bab0459.tar.gz", diff --git a/src/main.zig b/src/main.zig index 6c5d3a0..c7438a3 100644 --- a/src/main.zig +++ b/src/main.zig @@ -2,7 +2,7 @@ const std = @import("std"); pub const jetzig = @import("jetzig"); -pub const routes = @import("routes").routes; +pub const routes = @import("routes"); // Override default settings in `jetzig.config` here: pub const jetzig_options = struct { @@ -92,5 +92,5 @@ pub fn main() !void { const app = try jetzig.init(allocator); defer app.deinit(); - try app.start(comptime jetzig.route(routes)); + try app.start(routes, .{}); }