Added basic token auth extractor
This commit is contained in:
parent
14012b155e
commit
5a10a8d4b1
1 changed files with 1 additions and 1 deletions
|
|
@ -119,6 +119,6 @@ async fn fallback_route_unknown(req: Request) -> Response {
|
||||||
|
|
||||||
/// basic handler that responds with a static string
|
/// basic handler that responds with a static string
|
||||||
async fn root(test: AuthInfo) -> &'static str {
|
async fn root(test: AuthInfo) -> &'static str {
|
||||||
println!("Hello world, {test:?}");
|
println!("AuthInfo: {test:?}");
|
||||||
"Hello, World!"
|
"Hello, World!"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue