diff options
author | Andy Wingo | 2010-11-22 23:33:08 +0100 |
---|---|---|
committer | Andy Wingo | 2010-11-22 23:33:08 +0100 |
commit | dda89fe5bfc1ef58abfc426e5dd68f58a1c84360 (patch) | |
tree | 0dae1b7fe6cc4c896bc80dc836c5ac3adfd3b922 /Makefile.am | |
parent | 3ece90674ac6b63e98a3bc0d0c392aab9e46f70d (diff) | |
download | tekuti-dda89fe5bfc1ef58abfc426e5dd68f58a1c84360.tar.gz tekuti-dda89fe5bfc1ef58abfc426e5dd68f58a1c84360.zip |
config refactor so that tekuti knows its public address
* 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.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions