mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-10-27 13:47:40 +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":
|
case "GET":
|
||||||
if(path === "/") {
|
if(path === "/") {
|
||||||
response.writeHead(200, {"Content-Type": serveType});
|
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");
|
response.end(text, "utf8");
|
||||||
} else {
|
} else {
|
||||||
response.writeHead(404);
|
response.writeHead(404);
|
||||||
|
|||||||
Reference in New Issue
Block a user