fix(backend): update router paths to axum 0.8 syntax

This commit is contained in:
spinline
2026-02-03 22:58:08 +03:00
parent 7dfa3cf890
commit 6a5ce421b9

View File

@@ -194,15 +194,15 @@ async fn main() {
)
.route("/api/system/version", get(handlers::get_version_handler))
.route(
"/api/torrents/:hash/files",
"/api/torrents/{hash}/files",
get(handlers::get_files_handler),
)
.route(
"/api/torrents/:hash/peers",
"/api/torrents/{hash}/peers",
get(handlers::get_peers_handler),
)
.route(
"/api/torrents/:hash/trackers",
"/api/torrents/{hash}/trackers",
get(handlers::get_trackers_handler),
)
.route(