Fix indentation and formatting

This commit is contained in:
spikecodes 2021-11-23 22:23:29 -08:00
parent 6d73024183
commit 85ae7c1f60
No known key found for this signature in database
GPG key ID: 004CECFF9B463BCB
7 changed files with 27 additions and 43 deletions

View file

@ -133,8 +133,7 @@ async fn main() {
.get_matches();
let address = matches.value_of("address").unwrap_or("0.0.0.0");
let port = std::env::var("PORT")
.unwrap_or_else(|_| matches.value_of("port").unwrap_or("8080").to_string());
let port = std::env::var("PORT").unwrap_or_else(|_| matches.value_of("port").unwrap_or("8080").to_string());
let hsts = matches.value_of("hsts");
let listener = [address, ":", &port].concat();