fix for when auth is not supplied

This commit is contained in:
Tristram Oaten 2016-10-10 12:42:50 +01:00 committed by GitHub
parent 70faf8684f
commit 7e51c7df1c

View file

@ -5,5 +5,5 @@ if [ ! -d /var/lib/tiddlywiki/mywiki ]; then
tiddlywiki mywiki --init server
fi
exec tiddlywiki mywiki --server 8080 $:/core/save/all text/plain text/html $USERNAME $PASSWORD
exec tiddlywiki mywiki --server 8080 $:/core/save/all text/plain text/html ${USERNAME:-user} ${PASSWORD:-"''"} 0.0.0.0