Skip to content

Commit

Permalink
upgrade rocket
Browse files Browse the repository at this point in the history
  • Loading branch information
magiclen committed May 10, 2022
1 parent df25798 commit d343296
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mprober"
version = "0.11.0-beta.10"
version = "0.11.0-beta.11"
authors = ["Magic Len <[email protected]>"]
edition = "2021"
repository = "https://github.com/magiclen/m-prober"
Expand Down Expand Up @@ -37,7 +37,7 @@ users = "0.11"
benchmarking = "0.4"
base64 = "0.13"

rocket = "0.5.0-rc.1"
rocket = "0.5.0-rc.2"
rocket-simple-authorization = "0.10"
rocket-cache-response = "0.6"
rocket-json-response = "0.6"
Expand Down
4 changes: 3 additions & 1 deletion src/rocket_mounts/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,7 @@ pub async fn launch(
monitor::rocket_handler(rocket)
};

rocket.launch().await
let _ = rocket.launch().await?;

Ok(())
}

0 comments on commit d343296

Please sign in to comment.