1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Extend serve.sh/cmd to pass host address

Useful to be able to do `./bin/serve.sh "" "" 0.0.0.0` to listen on all
network adaptors
This commit is contained in:
Jermolene 2014-09-10 21:34:13 +01:00
parent 08d588fb08
commit 50be85287b
2 changed files with 2 additions and 2 deletions

View File

@ -7,5 +7,5 @@ rem Optional parameter is the username for signing edits
node .\tiddlywiki.js ^ node .\tiddlywiki.js ^
editions\tw5.com-server ^ editions\tw5.com-server ^
--verbose ^ --verbose ^
--server 8080 $:/core/save/all text/plain text/html %1 %2^ --server 8080 $:/core/save/all text/plain text/html "%1" "%2" "%3"^
|| exit 1 || exit 1

View File

@ -7,5 +7,5 @@
node ./tiddlywiki.js \ node ./tiddlywiki.js \
editions/tw5.com-server \ editions/tw5.com-server \
--verbose \ --verbose \
--server 8080 $:/core/save/all text/plain text/html $1 $2\ --server 8080 $:/core/save/all text/plain text/html "$1" "$2" "$3"\
|| exit 1 || exit 1