mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-10-27 05:37:39 +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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user