feat: added following system using cookies

This commit is contained in:
2025-11-19 18:09:37 -03:00
parent 4e05923cd8
commit 2fd13de8e1
9 changed files with 56 additions and 12 deletions

View File

@@ -32,7 +32,7 @@ proc createSearchRouter*(cfg: Config) =
users = await getGraphUserSearch(query, getCursor())
except InternalError:
users = Result[User](beginning: true, query: query)
resp renderMain(renderUserSearch(users, prefs), request, cfg, prefs, title)
resp renderMain(renderUserSearch(users, prefs, getPath()), request, cfg, prefs, title)
of tweets:
let
tweets = await getGraphTweetSearch(query, getCursor())