mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
Fix 404 page
This commit is contained in:
parent
4104bfcba9
commit
a78eea9dce
7 changed files with 8 additions and 8 deletions
|
|
@ -51,7 +51,7 @@ proc createMediaRouter*(cfg: Config) =
|
|||
discard
|
||||
|
||||
if content.len == 0:
|
||||
halt Http404
|
||||
resp Http404
|
||||
|
||||
resp content, settings.mimes.getMimetype(url.split(".")[^1])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue