1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 10:37:20 +00:00
TiddlyWiki5/bin/lazy.sh
2014-09-08 16:32:34 +01:00

12 lines
260 B
Bash
Executable File

#!/bin/bash
# serve TiddlyWiki5 over HTTP with lazily loaded images
# Optional parameter is the username for signing edits
node ./tiddlywiki.js \
editions/server \
--verbose \
--server 8080 $:/core/save/lazy-images text/plain text/html $1 $2\
|| exit 1