Update Jetzig
This commit is contained in:
parent
c018ea3c0e
commit
82e362671c
3 changed files with 6 additions and 6 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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, .{});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue