mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Fix 404 page
This commit is contained in:
parent
4104bfcba9
commit
a78eea9dce
7 changed files with 8 additions and 8 deletions
|
|
@ -8,7 +8,7 @@ import ../views/[general, timeline, list]
|
|||
|
||||
template respList*(list, timeline: typed) =
|
||||
if list.minId.len == 0:
|
||||
halt Http404, showError("List \"" & @"list" & "\" not found", cfg)
|
||||
resp Http404, showError("List \"" & @"list" & "\" not found", cfg)
|
||||
let html = renderList(timeline, list.query, @"name", @"list")
|
||||
let rss = "/$1/lists/$2/rss" % [@"name", @"list"]
|
||||
resp renderMain(html, request, cfg, rss=rss)
|
||||
|
|
|
|||
Loading…
Reference in a new issue