correct paths

This commit is contained in:
Radical 2025-05-02 23:16:20 +02:00
parent 8fcfef59d3
commit 8766ca57aa
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ mod channel;
mod send;
pub fn web() -> Scope {
web::scope("/v1")
web::scope("/v0")
.service(channel::res)
.service(send::res)
}

View file

@ -15,7 +15,7 @@ struct Request {
const MAX_SIZE: usize = 262_144;
#[post("/channel")]
#[post("/send")]
pub async fn res(
mut payload: web::Payload,
data: web::Data<Data>,