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;
|
mod send;
|
||||||
|
|
||||||
pub fn web() -> Scope {
|
pub fn web() -> Scope {
|
||||||
web::scope("/v1")
|
web::scope("/v0")
|
||||||
.service(channel::res)
|
.service(channel::res)
|
||||||
.service(send::res)
|
.service(send::res)
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ struct Request {
|
||||||
|
|
||||||
const MAX_SIZE: usize = 262_144;
|
const MAX_SIZE: usize = 262_144;
|
||||||
|
|
||||||
#[post("/channel")]
|
#[post("/send")]
|
||||||
pub async fn res(
|
pub async fn res(
|
||||||
mut payload: web::Payload,
|
mut payload: web::Payload,
|
||||||
data: web::Data<Data>,
|
data: web::Data<Data>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue