mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Rearchitect profile, support pins, Profile -> User
This commit is contained in:
parent
79b98a8081
commit
51ae076ea0
23 changed files with 375 additions and 286 deletions
|
|
@ -25,7 +25,7 @@ proc createSearchRouter*(cfg: Config) =
|
|||
of users:
|
||||
if "," in @"q":
|
||||
redirect("/" & @"q")
|
||||
let users = await getSearch[Profile](query, getCursor())
|
||||
let users = await getSearch[User](query, getCursor())
|
||||
resp renderMain(renderUserSearch(users, prefs), request, cfg, prefs)
|
||||
of tweets:
|
||||
let
|
||||
|
|
|
|||
Loading…
Reference in a new issue