From 5a10a8d4b11ed3f0027c73304ec5173c1085d868 Mon Sep 17 00:00:00 2001 From: Jan Schermer Date: Mon, 19 May 2025 13:38:43 +0200 Subject: [PATCH] Added basic token auth extractor --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index a74ea22..645a213 100644 --- a/src/main.rs +++ b/src/main.rs @@ -119,6 +119,6 @@ async fn fallback_route_unknown(req: Request) -> Response { /// basic handler that responds with a static string async fn root(test: AuthInfo) -> &'static str { - println!("Hello world, {test:?}"); + println!("AuthInfo: {test:?}"); "Hello, World!" }