Add more debugging information in authorize route, and cargo fmt
This commit is contained in:
parent
9481c0ff7e
commit
907f22bfd4
17 changed files with 307 additions and 164 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue