fix compile warnings
This commit is contained in:
parent
9c439783c7
commit
0eb673f0e5
|
@ -1,3 +1,3 @@
|
||||||
# fileD - file daemon
|
# fileD - file daemon
|
||||||
This is a part of blek! File that is responsible for serving and uploading files.
|
This is a part of blek! File that is responsible for serving and uploading files.
|
||||||
This module is released under the GPLv3 with additions, copy of which is included in the top level of this repository.
|
This module is released under the GPLv3 with additions, copy of which is included in the top level of this repository.
|
||||||
|
|
|
@ -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