What about this code from the article
``` if cx.path == "/tags" { return tags::serve_list(cx).await; } else if cx.path.starts_with("/tags/") { return tags::serve_single(cx).await; }
if cx.path == "/settings" {
return settings::serve(cx).await;
}
if cx.path == "/search" {
return search::serve(cx).await;
}
if cx.path == "/login" {
return login::serve_login(cx).await;
}
if cx.path == "/patreon/oauth" {
return login::serve_patreon_oauth(cx).await;
}
if cx.path == "/logout" {
return login::serve_logout(cx).await;
}
if cx.path == "/debug-credentials" {
return login::serve_debug_credentials(cx).await;
}
if cx.path == "/comments" {
return comments::serve(cx).await;
}
if cx.path == "/latest-video" {
return latest_video::serve(cx).await;
}
if cx.path == "/patron-list" {
return patron_list::serve(cx).await;
}
if cx.path == "/index.xml" {
return cx
.serve_template("index.xml", Default::default(), mime::atom())
.await;
}
```