1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-03-25 04:46:55 +00:00

Fixed problem with the --server command

I hadn't updated the code since using parametic substitution in the
main template
This commit is contained in:
Jeremy Ruston 2012-10-24 22:11:01 +01:00
parent c160c69187
commit fc6e563c17

View File

@ -57,7 +57,9 @@ Command.prototype.execute = function() {
case "GET":
if(path === "/") {
response.writeHead(200, {"Content-Type": serveType});
var text = self.commander.wiki.renderTiddler(renderType,rootTiddler);
var text = self.commander.wiki.renderTiddler(renderType,rootTiddler,{
"with": ["","[!is[shadow]]"]
});
response.end(text, "utf8");
} else {
response.writeHead(404);