projects
/
valheim_web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update dependencies
[valheim_web.git]
/
backend
/
src
/
main.rs
diff --git
a/backend/src/main.rs
b/backend/src/main.rs
index
c186c3f
..
b302520
100644
(file)
--- 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::* };
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;
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;
async fn main() -> std::io::Result<()> {
let config = load_config();
let port = config.port;