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:
parent
c160c69187
commit
fc6e563c17
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user