testserve
This commit is contained in:
parent
6407495292
commit
b503fca8ce
@ -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<SessionData>) -> 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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user