mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
parent
53a7113905
commit
8cae23dc7e
4 changed files with 10 additions and 10 deletions
|
|
@ -20,7 +20,7 @@ template respRss*(rss: typed) =
|
|||
proc createRssRouter*(cfg: Config) =
|
||||
router rss:
|
||||
get "/search/rss":
|
||||
if @"text".len > 200:
|
||||
if @"q".len > 200:
|
||||
resp Http400, showError("Search input too long.", cfg.title)
|
||||
|
||||
let query = initQuery(params(request))
|
||||
|
|
|
|||
Loading…
Reference in a new issue