diff --git a/cstudio-server/src/main.rs b/cstudio-server/src/main.rs index 89e7152..50c05a4 100644 --- a/cstudio-server/src/main.rs +++ b/cstudio-server/src/main.rs @@ -7,12 +7,14 @@ async fn main() { let port = std::env::var("PORT") .unwrap_or_else(|_| String::from("3030")) - .parse().expect("Unable to parse PORT"); + .parse(). + expect("Unable to parse PORT"); let config = ServerConfig { expiry_days: std::env::var("EXPIRY_DAYS") .unwrap_or_else(|_| String::from("1")) - .parse().expect("Unable to parse EXPIRY_DAYS"), + .parse() + .expect("Unable to parse EXPIRY_DAYS"), }; warp::serve(server(config)).run(([0, 0, 0, 0], port)).await;