Commit graph

8 commits

Author SHA1 Message Date
Trevor Slocum
3500533ecf Update StyleSheet implementation 2021-07-10 09:27:52 -07:00
daf4b2b1a2 gofmt 2021-07-09 22:19:46 +02:00
8654f0ca1b Rename to StyleSheet and precache CSS bytes
If there is a custom CSS file specified and usable (it exists and is
readable), we precache it on server startup (for every host). This
increase the request performance and reduce IO-load slightly.
2021-07-09 22:15:35 +02:00
83453281bc Add support for custom CSS files
Specify the ```styles``` config option for a host and point to a
valid CSS file to use this instead of the default one. This fixes #9.
2021-06-08 22:10:10 +02:00
Trevor Slocum
cd85204680 Migrate to code.rocketnine.space 2021-04-07 20:53:11 -07:00
Trevor Slocum
74dc22338e Support HEAD requests 2020-12-08 18:53:02 -08:00
Trevor Slocum
faab032d45 Support directory listing via HTTPS 2020-12-03 16:45:20 -08:00
Trevor Slocum
8d6cb6527e Serve Gemini content via HTTPS 2020-12-03 11:36:14 -08:00