mirror of
https://github.com/actix/examples
synced 2025-08-29 09:19:19 +02:00
cleanup and cargo fmt
This commit is contained in:
@@ -27,9 +27,7 @@ fn main() {
|
||||
builder
|
||||
.set_private_key_file("key.pem", SslFiletype::PEM)
|
||||
.unwrap();
|
||||
builder
|
||||
.set_certificate_chain_file("cert.pem")
|
||||
.unwrap();
|
||||
builder.set_certificate_chain_file("cert.pem").unwrap();
|
||||
|
||||
server::new(|| {
|
||||
App::new()
|
||||
|
Reference in New Issue
Block a user