diff options
Diffstat (limited to 'server/src/routes/stream.rs')
-rw-r--r-- | server/src/routes/stream.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/routes/stream.rs b/server/src/routes/stream.rs index 2583cb1..6e60cc9 100644 --- a/server/src/routes/stream.rs +++ b/server/src/routes/stream.rs @@ -22,7 +22,7 @@ use tokio_util::io::SyncIoBridge; pub fn stream_uri(id: &str, tracks: &[u64], webm: bool) -> String { format!( - "/stream/{}?tracks={}&webm={}", + "/n/{}/stream?tracks={}&webm={}", id, tracks .iter() @@ -33,7 +33,7 @@ pub fn stream_uri(id: &str, tracks: &[u64], webm: bool) -> String { ) } -#[get("/stream/<id>?<tracks>&<webm>")] +#[get("/n/<id>/stream?<tracks>&<webm>")] pub fn r_stream( _sess: Session, id: String, |