From b503fca8cea3fe591763116bec9138b19dae31cc Mon Sep 17 00:00:00 2001 From: notplants Date: Mon, 18 Jul 2022 14:42:52 +0200 Subject: [PATCH] testserve --- peach-web/src/public_router.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/peach-web/src/public_router.rs b/peach-web/src/public_router.rs index fd433f3..a397db4 100644 --- a/peach-web/src/public_router.rs +++ b/peach-web/src/public_router.rs @@ -18,6 +18,9 @@ use crate::{ /// by querying the `session_data`. If the user is authenticated, pass their /// request to the private router. Otherwise, redirect them to the login page. pub fn handle_route(request: &Request, session_data: &mut Option) -> Response { + + return Response::html("this is running"); + // static file server // matches on assets in the `static` directory let static_response = rouille::match_assets(request, "static");