diff --git a/actix/src/auth.rs b/actix/src/auth.rs index 0e501cb..fd9b612 100644 --- a/actix/src/auth.rs +++ b/actix/src/auth.rs @@ -27,7 +27,6 @@ fn check(token: Option) -> bool { .duration_since(SystemTime::UNIX_EPOCH) .expect("Time went backwards!") .as_secs(); - println!("{:#?}", token_parts); if token_text == "valid-session-token" && time_now < token_time + 1209600 { // There are 1209600 seconds in 14 days true diff --git a/actix/src/main.rs b/actix/src/main.rs index 7c6fc5d..c80c002 100644 --- a/actix/src/main.rs +++ b/actix/src/main.rs @@ -130,7 +130,7 @@ async fn main() -> std::io::Result<()> { .service(login) .default_service(Files::new("/", "./resources/").index_file("index.html")) }) - .bind(("0.0.0.0", 2000))? + .bind(("0.0.0.0", 4567))? .run() .await }