Fork/mirror of Andy Wingo's tekuti
dda89fe5bf
* tekuti/config.scm (*public-host*, *public-port*) (*private-host*, *private-port*): Use these instead of *host* and the recently removed *port*. A web app needs to know its public address, and the private ports are part of its config. (*server-impl-args*): Redefine as a thunk to delay the dereferencing of config parameters like *private-host*. * tekuti/page-helpers.scm (ensure-public-uri): New helper, uses the new conf vars to ensure that a value is a URI. (build-headers): New helper, like the old acons* without consing a rest list. (respond): Use the two new helpers. (atom-header, atom-entry): No need for server-name arg, as we know how to make a public URI. * tekuti/page.scm (page-feed-atom): Adapt to no need to guess at the server-name. * tekuti/web.scm (main-loop): Allow *server-impl-args* to be a thunk. |
||
---|---|---|
src | ||
tekuti | ||
.gitignore | ||
acinclude.m4 | ||
AUTHORS | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
env.in | ||
Makefile.am | ||
NEWS | ||
README | ||
wordpress-to-dir.py |