From b7bd1c0a4d4903c54a2f6bd758737f613d216d70 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 17 Apr 2022 01:50:16 +0300 Subject: Improve comments --- src/routes.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/routes.rs') diff --git a/src/routes.rs b/src/routes.rs index e3322ad..4dd22bc 100644 --- a/src/routes.rs +++ b/src/routes.rs @@ -7,11 +7,7 @@ use crate::Db; /// Every route combined pub fn application(db: Db) -> impl Filter + Clone { - // Remember when we wanted to implement templating - // Why would we? Just put a staic webpage under /public (next to Cargo.toml) and place it and - // the end of the filter chain - - // Fully fledged website support, phew! + // gradecoin-site (zola) outputs a public/, we serve it here let static_route = warp::any().and(warp::fs::dir("public")); transaction_list(db.clone()) -- cgit v1.2.3-70-g09d2