Add more debugging information in authorize route, and cargo fmt

This commit is contained in:
selfhoster selfhoster 2023-08-27 19:40:47 +00:00
commit 907f22bfd4
17 changed files with 307 additions and 164 deletions

View file

@ -21,8 +21,7 @@ pub fn router(subpath: Option<String>, state: RoutableAppState) -> Router {
.layer(CookieManagerLayer::new())
.with_state(state);
if let Some(p) = subpath {
Router::new()
.nest(&p, app)
Router::new().nest(&p, app)
} else {
app
}