Skip to content

Commit

Permalink
fix from clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sksat committed Oct 30, 2024
1 parent 714ab00 commit a55bfa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ async fn main() -> std::io::Result<()> {
.app_data(web::Data::new(Arc::new(cfg.clone()))) // memo: https://github.com/actix/actix-web/issues/1454#issuecomment-867897725
.app_data(web::Data::new(Arc::new(opt.clone())))
.service(web::resource("/webhook").route(web::post().to(webhook)))
.service(web::resource("/healthcheck").route(web::get().to(|| HttpResponse::Ok())))
.service(web::resource("/healthcheck").route(web::get().to(HttpResponse::Ok)))
})
.bind(format!("0.0.0.0:{}", port))?
.run()
Expand Down

0 comments on commit a55bfa3

Please sign in to comment.