fix compile warnings
This commit is contained in:
parent
9c439783c7
commit
0eb673f0e5
|
@ -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;
|
||||||
}
|
}
|
Loading…
Reference in New Issue