mirror of
https://git.asonix.dog/asonix/http-signature-normalization.git
synced 2024-11-27 20:01:00 +00:00
Update readme
This commit is contained in:
parent
c8f1489ad9
commit
aae38f490d
1 changed files with 0 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue