TiddlyWiki5/bin/lazy.cmd

12 lines
262 B
Batchfile

@echo off
rem serve TiddlyWiki5 over HTTP with lazily loaded images
rem 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