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
|
|
@ -72,7 +72,7 @@ proc showTimeline*(request: Request; query: Query; cfg: Config; rss: string): Fu
|
|||
|
||||
template respTimeline*(timeline: typed) =
|
||||
if timeline.len == 0:
|
||||
halt Http404, showError("User \"" & @"name" & "\" not found", cfg)
|
||||
resp Http404, showError("User \"" & @"name" & "\" not found", cfg)
|
||||
resp timeline
|
||||
|
||||
proc createTimelineRouter*(cfg: Config) =
|
||||
|
|
|
|||
Loading…
Reference in a new issue