summaryrefslogtreecommitdiffstatshomepage
path: root/ChangeLog
diff options
context:
space:
mode:
authorGravatar Andy Wingo2010-11-22 23:33:08 +0100
committerGravatar Andy Wingo2010-11-22 23:33:08 +0100
commitdda89fe5bfc1ef58abfc426e5dd68f58a1c84360 (patch)
tree0dae1b7fe6cc4c896bc80dc836c5ac3adfd3b922 /ChangeLog
parent3ece90674ac6b63e98a3bc0d0c392aab9e46f70d (diff)
downloadtekuti-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 'ChangeLog')
0 files changed, 0 insertions, 0 deletions