Update dependencies
[valheim_web.git] / backend / src / main.rs
index c186c3f..b302520 100644 (file)
@@ -1,7 +1,6 @@
 extern crate askama;
 
 use std::{ sync::Mutex, env::args, fs::File, io::prelude::* };
-
 use actix_files as fs;
 use actix_web::{ get, web, Responder, middleware, App, HttpServer };
 use askama::Template;
@@ -99,7 +98,7 @@ fn load_config() -> Config {
     }
 }
 
-#[actix_rt::main]
+#[actix_web::main]
 async fn main() -> std::io::Result<()> {
     let config = load_config();
     let port = config.port;