correct paths
This commit is contained in:
parent
8fcfef59d3
commit
8766ca57aa
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ mod channel;
|
|||
mod send;
|
||||
|
||||
pub fn web() -> Scope {
|
||||
web::scope("/v1")
|
||||
web::scope("/v0")
|
||||
.service(channel::res)
|
||||
.service(send::res)
|
||||
}
|
||||
|
|
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue