restify route
This commit is contained in:
parent
de9d4a4cab
commit
bf1ee8efe8
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ ____ __ ____ __ __ __ _______..______ _______ .______
|
|||
let channel = connection.create_channel().await.unwrap();
|
||||
|
||||
let app = Router::new()
|
||||
.route("/call-upload", post(upload_call))
|
||||
.route("/calls", post(upload_call))
|
||||
.layer(Extension(cfg.clone()))
|
||||
.layer(Extension(channel));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue