mirror of
https://github.com/m0wer/tiddlywiki-docker.git
synced 2026-01-23 02:24:25 +00:00
Update if/then style
This commit is contained in:
parent
a17d8616fb
commit
77c1b6eff0
1 changed files with 1 additions and 2 deletions
|
|
@ -19,8 +19,7 @@ fi
|
|||
|
||||
# Configure the tiddlywiki to be served on a path if it is given
|
||||
WEBHOST_TID=/var/lib/tiddlywiki/mywiki/tiddlers/\$__config_tiddlyweb_host.tid
|
||||
if [ -n "${SERVE_URI}" ]
|
||||
then
|
||||
if [ -n "${SERVE_URI}" ]; then
|
||||
cp /tiddlyweb_host_template ${WEBHOST_TID}
|
||||
echo '$protocol$//$host$'${SERVE_URI}"/" >> ${WEBHOST_TID}
|
||||
echo "tiddlywiki will be served at ${SERVE_URI}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue