Skip to content

Commit

Permalink
adapt
Browse files Browse the repository at this point in the history
  • Loading branch information
steebchen committed Sep 3, 2024
1 parent eca6439 commit f96c9c1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions prover/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,8 @@ pub async fn start(args: Args) -> Result<(), ProverError> {
"OK"
}

let ok_router = Router::new().route("/", axum::routing::get(ok_handler));

let app = Router::new()
.nest("/", ok_router)
.route("/", get(ok_handler))
.route("/verify", post(root))
.route("/get-job/:id", get(get_job))
.route("/sse", get(sse_handler))
Expand Down

0 comments on commit f96c9c1

Please sign in to comment.