Update readme

This commit is contained in:
asonix 2022-11-28 19:43:55 -06:00
parent c8f1489ad9
commit aae38f490d

View file

@ -31,13 +31,10 @@ use sha2::Sha256;
#[actix_web::main] #[actix_web::main]
async fn main() -> std::io::Result<()> { async fn main() -> std::io::Result<()> {
/*
HttpServer::new(|| App::new().route("/", web::post().to(protected))) HttpServer::new(|| App::new().route("/", web::post().to(protected)))
.bind("127.0.0.1:8010")? .bind("127.0.0.1:8010")?
.run() .run()
.await .await
*/
Ok(())
} }
async fn protected(signed_request: Signed<String, Cfg, Sha256, Key>) -> &'static str { async fn protected(signed_request: Signed<String, Cfg, Sha256, Key>) -> &'static str {