Skip to content

Commit

Permalink
Extend serve.sh/cmd to pass host address
Browse files Browse the repository at this point in the history
Useful to be able to do `./bin/serve.sh "" "" 0.0.0.0` to listen on all
network adaptors
  • Loading branch information
Jermolene committed Sep 10, 2014
1 parent 08d588f commit 50be852
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/serve.cmd
Expand Up @@ -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
2 changes: 1 addition & 1 deletion bin/serve.sh
Expand Up @@ -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

0 comments on commit 50be852

Please sign in to comment.