DEBUG INIT

This commit is contained in:
LinlyBoi
2023-12-18 00:07:00 +02:00
parent a09d19d442
commit f5c60e19d4

View File

@@ -11,6 +11,7 @@ mod arrivals;
async fn main() -> std::io::Result<()> { async fn main() -> std::io::Result<()> {
dotenv().ok(); dotenv().ok();
std::env::set_var("RUST_LOG", "debug"); std::env::set_var("RUST_LOG", "debug");
env_logger::init();
HttpServer::new(|| { HttpServer::new(|| {
App::new() App::new()
.service(echo) .service(echo)