1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +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 ^
editions\tw5.com-server ^
--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

View File

@ -7,5 +7,5 @@
node ./tiddlywiki.js \
editions/tw5.com-server \
--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