Commit graph

7 commits

Author SHA1 Message Date
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