diff options
author | Arun Isaac | 2022-07-21 00:25:14 +0530 |
---|---|---|
committer | Arun Isaac | 2022-07-21 01:06:14 +0530 |
commit | 772d1b6c8a615a3ed1b5e1293127c8d4c31aed8f (patch) | |
tree | 9ed4cf45c00a040a2fa21e906d669d85a5dc9571 /issues/issue-templates.gmi | |
parent | 2a704f96235e551573999cac163e544b1bdf89d3 (diff) | |
download | tissue-772d1b6c8a615a3ed1b5e1293127c8d4c31aed8f.tar.gz tissue-772d1b6c8a615a3ed1b5e1293127c8d4c31aed8f.tar.lz tissue-772d1b6c8a615a3ed1b5e1293127c8d4c31aed8f.zip |
web: server: Be unaware of the state directory.
The server should be unaware of the specifics of the state directory
and its directory structure. It should be explicitly passed paths to
all necessary directories. This way, the server can be repurposed for
other applications such as the development web server---something that
is coming soon in the subsequent commits.
* tissue/web/server.scm (handler): Remove state-directory
argument. Use directory paths in hosts argument.
(start-web-server): Remove state-directory argument. Do not pass on
state-directory to handler.
* bin/tissue (tissue-web): Pass directory paths explicitly to
start-web-server in hosts argument. Do not pass the removed
state-directory argument.
Diffstat (limited to 'issues/issue-templates.gmi')
0 files changed, 0 insertions, 0 deletions