remove useless prints
This commit is contained in:
parent
9dbe2ac82a
commit
83ded0e30d
|
@ -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,
|
||||
|
|
|
@ -61,7 +61,7 @@ impl Handler for UiStatic {
|
|||
.segments::<rocket::http::uri::Segments<'_, Path>>(0..)
|
||||
.ok()
|
||||
.and_then(|segments| segments.to_path_buf(true).ok());
|
||||
println!("path: {path:#?}");
|
||||
|
||||
match path {
|
||||
Some(p) => {
|
||||
if p.as_os_str() == "" {
|
||||
|
|
Loading…
Reference in a new issue