1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-25 09:59:21 +02:00

added ConnectionInfo

This commit is contained in:
Nikolay Kim
2017-12-05 17:09:15 -08:00
parent d8b880e167
commit c3de32c3b3
6 changed files with 180 additions and 31 deletions

View File

@ -42,8 +42,8 @@ fn main() {
.header("LOCATION", "/index.html")
.body(Body::Empty)
})))
.serve_tls::<_, ()>("127.0.0.1:8080", pkcs12).unwrap();
.serve_tls::<_, ()>("127.0.0.1:8443", pkcs12).unwrap();
println!("Started http server: 127.0.0.1:8080");
println!("Started http server: 127.0.0.1:8443");
let _ = sys.run();
}