X-Git-Url: http://git.euphorik.ch/index.cgi?p=minecraft_web.git;a=blobdiff_plain;f=backend%2Fsrc%2Fmain.rs;fp=backend%2Fsrc%2Fmain.rs;h=c4d7d5053cda8d642c71e04845116e0db5fb064c;hp=212903300fb7adb6cca0b4165c766105e23b8a19;hb=55bef4c00d6f8f6d87fdf482ca63b5efcd85575e;hpb=56bda46ddd9202d7d5485792fc2062fc69b6ed07 diff --git a/backend/src/main.rs b/backend/src/main.rs index 2129033..c4d7d50 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -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; @@ -10,7 +9,6 @@ use serde::{ Deserialize, Serialize }; use cached::proc_macro::cached; mod consts; -mod tests; mod minecraft_controller; #[derive(Template)] @@ -56,7 +54,8 @@ async fn main_page(config_shared: web::Data>) -> impl Responder { uptime: value_unknown.clone(), world_size: value_unknown.clone(), active_players: value_unknown.clone(), - last_backup: value_unknown.clone() } + last_backup: value_unknown.clone() + } } } }