summaryrefslogtreecommitdiff
path: root/haunt/serve/mime-types.scm
Commit message (Collapse)AuthorAgeFilesLines
* serve: Fix 'file-extension' so that the right MIME type is chosen.Ludovic Courtès2017-12-211-10/+4
| | | | | | | | Reported by sirgazil at <https://lists.gnu.org/archive/html/guile-user/2017-12/msg00070.html>. * haunt/serve/mime-types.scm (%file-ext-regexp): Remove. (file-extension): Rewrite using 'string-rindex'.
* Add serve command.David Thompson2015-01-041-0/+556
* haunt/config.scm: New file. * haunt/serve/mime-types.scm: New file. * haunt/serve/web-server.scm: New file. * haunt/ui/serve.scm: New file. * haunt/ui.scm (commands, program-name): New variables. (show-haunt-help): Display possible commands. (run-haunt-command): New procedure. (haunt-main): Run subcommands. * Makefile.am (SOURCES): Add files.