update dependencies
This commit is contained in:
parent
83a16fe9bb
commit
3e2808c86e
4 changed files with 317 additions and 221 deletions
|
|
@ -40,7 +40,7 @@ pub async fn serve(ctx: WebApiContext) -> AsyncResult<Never> {
|
|||
let app = Router::new()
|
||||
.route("/imgstream", get(image_stream))
|
||||
.route("/stats", get(stats_stream))
|
||||
.nest_service("/", assets)
|
||||
.fallback_service(assets)
|
||||
.with_state(ctx)
|
||||
// logging middleware
|
||||
.layer(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue