From 0eb673f0e55cd7b90c8dc232476de27a1b67f759 Mon Sep 17 00:00:00 2001 From: blek Date: Fri, 29 Sep 2023 20:36:02 +1000 Subject: [PATCH] fix compile warnings --- filed/README.md | 2 +- filed/src/web/mod.rs | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/filed/README.md b/filed/README.md index f1ce600..2962c6b 100644 --- a/filed/README.md +++ b/filed/README.md @@ -1,3 +1,3 @@ # fileD - file daemon 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. \ No newline at end of file +This module is released under the GPLv3 with additions, copy of which is included in the top level of this repository. diff --git a/filed/src/web/mod.rs b/filed/src/web/mod.rs index b4c4aff..a5de9c4 100644 --- a/filed/src/web/mod.rs +++ b/filed/src/web/mod.rs @@ -2,8 +2,6 @@ web - The part of filed that handles everything related to HTTP */ -use warp::Filter; - mod pages; /* @@ -13,7 +11,5 @@ pub async fn serve() { 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; } \ No newline at end of file