diff --git a/src/ui/mod.rs b/src/ui/mod.rs index c67dd46..f0fedec 100644 --- a/src/ui/mod.rs +++ b/src/ui/mod.rs @@ -23,7 +23,7 @@ pub fn router() -> Router { .route("/ui/publishers/{pubkey}/unblock", post(publishers::unblock_handler)) .route("/ui/publishers/{pubkey}/mute", post(publishers::mute_handler)) .route("/ui/published", get(published::handler)) - .route("/torrent/{info_hash}.torrent", get(torrent_blob_handler)) + .route("/torrent/{info_hash}", get(torrent_blob_handler)) } /// Serve a cached .torrent file by info_hash.