diff --git a/src/sender.rs b/src/sender.rs index 5ec4f36..c3815e0 100644 --- a/src/sender.rs +++ b/src/sender.rs @@ -11,7 +11,8 @@ async fn send_async(s: String) -> String { let res = client .post(&format!( "{}/aliens/send?apiKey={}", - env::var("ICFPC_API_HOST").unwrap_or("https://icfpc2020-api.testkontur.ru"), + env::var("ICFPC_API_HOST").unwrap_or( + "https://icfpc2020-api.testkontur.ru".to_owned()), env::var("ICFPC_API_KEY").expect("ICFPC_API_KEY must be specified") )) .body(s.clone())