add: "all" timeline
add: only show most popular posts from the past week
This commit is contained in:
parent
fc9c0f294e
commit
24f67221ca
13 changed files with 143 additions and 27 deletions
|
@ -18,8 +18,9 @@ pub fn routes() -> Router {
|
|||
Router::new()
|
||||
// misc
|
||||
.route("/", get(misc::index_request))
|
||||
.route("/following", get(misc::following_request))
|
||||
.route("/popular", get(misc::popular_request))
|
||||
.route("/following", get(misc::following_request))
|
||||
.route("/all", get(misc::all_request))
|
||||
.route("/notifs", get(misc::notifications_request))
|
||||
.route("/doc/{*file_name}", get(misc::markdown_document_request))
|
||||
.fallback_service(get(misc::not_found))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue