Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | serve: Fix 'file-extension' so that the right MIME type is chosen. | Ludovic Courtès | 2017-12-21 | 1 | -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 Thompson | 2015-01-04 | 1 | -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. |