remove useless prints
This commit is contained in:
parent
9dbe2ac82a
commit
83ded0e30d
|
@ -56,15 +56,6 @@ async fn main() {
|
||||||
match products {
|
match products {
|
||||||
Ok(res) => match res.first() {
|
Ok(res) => match res.first() {
|
||||||
Some(teslatte::products::Product::Vehicle(vehicle)) => {
|
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 {
|
server::launch_server(server::ServerState {
|
||||||
config,
|
config,
|
||||||
api,
|
api,
|
||||||
|
|
|
@ -61,7 +61,7 @@ impl Handler for UiStatic {
|
||||||
.segments::<rocket::http::uri::Segments<'_, Path>>(0..)
|
.segments::<rocket::http::uri::Segments<'_, Path>>(0..)
|
||||||
.ok()
|
.ok()
|
||||||
.and_then(|segments| segments.to_path_buf(true).ok());
|
.and_then(|segments| segments.to_path_buf(true).ok());
|
||||||
println!("path: {path:#?}");
|
|
||||||
match path {
|
match path {
|
||||||
Some(p) => {
|
Some(p) => {
|
||||||
if p.as_os_str() == "" {
|
if p.as_os_str() == "" {
|
||||||
|
|
Loading…
Reference in a new issue