]> Sergey Matveev's repositories - public-inbox.git/commit
cgit: serve static css, logo, favicon directly
authorEric Wong <e@80x24.org>
Fri, 5 Apr 2019 20:04:26 +0000 (20:04 +0000)
committerEric Wong <e@80x24.org>
Mon, 15 Apr 2019 06:20:35 +0000 (06:20 +0000)
commit19151f1b6a04532a1bc3f86fa945a10be6849b8d
tree3ef59c69c008a831653de93baed87fe426b4a897
parent8efc7b62fc3e3bd94d0196fc1942ca9572a481cc
cgit: serve static css, logo, favicon directly

We can reduce the configuration needed to run cgit by reusing
the static file handling logic of the dumb git HTTP protocol.

I hate logos and icons, so don't expect public-inbox.org or
80x24.org to ever have those to waste users' bandwidth with :P
But I expect other users to find this useful.
lib/PublicInbox/Cgit.pm
lib/PublicInbox/Config.pm
lib/PublicInbox/GitHTTPBackend.pm