From 95b944b819d7a1320d3083929177676f93d4a3e3 Mon Sep 17 00:00:00 2001 From: niliara-edu Date: Sun, 19 Jan 2025 14:58:26 +0100 Subject: add album and artist routes --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 9d6ec4f..bddb0b6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -31,6 +31,8 @@ async fn main() -> std::io::Result<()> { .app_data(web::Data::new(app_state.clone())) .route("/", web::get().to(root)) .service(routes::song::song) + .service(routes::album::album) + .service(routes::artist::artist) }) .bind(("127.0.0.1", 8000))? .run() -- cgit v1.2.3