1
0
mirror of https://github.com/zedeus/nitter.git synced 2026-01-30 15:22:49 -05:00

Fix 404 page

This commit is contained in:
Zed
2019-10-21 07:59:22 +02:00
parent 4104bfcba9
commit a78eea9dce
7 changed files with 8 additions and 8 deletions

View File

@@ -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])