Commit graph

10 commits

Author SHA1 Message Date
Zed a56f217074 Fix exception when image path is empty 2019-10-24 00:04:54 +02:00
Zed ea4a8cab2f Fix white page on cached empty files 2019-10-21 07:59:36 +02:00
Zed a78eea9dce Fix 404 page 2019-10-21 07:59:22 +02:00
Zed cfcd471ffc Use sendFile, refactor mimetypes 2019-10-21 05:55:18 +02:00
Zed de62eedea5 Refactor hostname to be a runtime option
Add a `hostname` field under Server in your conf file, see the
updated nitter.conf in the repo for an example. The compile-time
option (-d:hostname) is no longer used.
2019-10-21 05:19:00 +02:00
Zed ebb89edef6 Use custom 404 page, halt on 404 instead of resp 2019-10-07 16:47:53 +02:00
Zed 9e3138e51b Add list support 2019-09-21 01:08:30 +02:00
Zed 7639883c6a Cleanup 2019-09-20 15:03:18 +02:00
Zed 9c91688497 Restrict image/gif media host instead of hashing 2019-09-13 12:27:04 +02:00
Zed 014f01bf88 Refactor routing code 2019-09-06 02:42:35 +02:00