1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-18 15:54:50 +00:00
TiddlyWiki5/bin/serve.cmd
Jermolene 50be85287b 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
2014-09-10 21:34:13 +01:00

12 lines
245 B
Batchfile

@echo off
rem serve TiddlyWiki5 over HTTP
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" "%3"^
|| exit 1