diff --git a/server/src/main.rs b/server/src/main.rs index bb9e840..30dd899 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -56,15 +56,6 @@ async fn main() { match products { Ok(res) => match res.first() { Some(teslatte::products::Product::Vehicle(vehicle)) => { - // match api.wake_up(&vehicle.vin).await { - // Ok(_r) => { - // println!("woke up! response: {_r:#?}"); - // } - // Err(e) => { - // println!("error waking up: {e:#?}"); - // } - // } - server::launch_server(server::ServerState { config, api, diff --git a/server/src/server/mod.rs b/server/src/server/mod.rs index 278bc2b..0a4de29 100644 --- a/server/src/server/mod.rs +++ b/server/src/server/mod.rs @@ -61,7 +61,7 @@ impl Handler for UiStatic { .segments::>(0..) .ok() .and_then(|segments| segments.to_path_buf(true).ok()); - println!("path: {path:#?}"); + match path { Some(p) => { if p.as_os_str() == "" {