fix compile warnings

This commit is contained in:
blek 2023-09-29 20:36:02 +10:00
parent 9c439783c7
commit 0eb673f0e5
Signed by: blek
GPG Key ID: 14546221E3595D0C
2 changed files with 1 additions and 5 deletions

View File

@ -2,8 +2,6 @@
web - The part of filed that handles everything related to HTTP web - The part of filed that handles everything related to HTTP
*/ */
use warp::Filter;
mod pages; mod pages;
/* /*
@ -13,7 +11,5 @@ pub async fn serve() {
log::info!("Listening on 0.0.0.0:80"); log::info!("Listening on 0.0.0.0:80");
// let hello = warp::any().map(|| "Hi");
warp::serve(pages::get_routes()).run(([0,0,0,0], 80)).await; warp::serve(pages::get_routes()).run(([0,0,0,0], 80)).await;
} }