diff --git a/server/src/main.rs b/server/src/main.rs index b6fadc9..784d650 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -5,8 +5,6 @@ use std::env; use actix_web::{App, get, HttpResponse, HttpServer, Responder}; -use crate::util::warn_println; - mod util; #[actix_web::main] @@ -19,7 +17,7 @@ async fn main() -> std::io::Result<()> { // Load .env if let Err(e) = dotenvy::dotenv() { - warn_println(format!("Failed to load dotenv: {}", e)) + util::warn_println(format!("Failed to load dotenv: {}", e)) }; // If env variable for port or bind_addr is present use that instead of default.