1
0
mirror of https://github.com/zedeus/nitter.git synced 2025-12-10 05:55:37 -05:00

Always show retweets unless excluded in search

This commit is contained in:
Zed
2020-06-17 14:12:38 +02:00
parent 0e58c36bae
commit 33f0ab0ba5
4 changed files with 9 additions and 16 deletions

View File

@@ -13,7 +13,7 @@ export search
proc createSearchRouter*(cfg: Config) =
router search:
get "/search/?":
if @"q".len > 200:
if @"q".len > 500:
resp Http400, showError("Search input too long.", cfg)
let