1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Fix up the server command to use the new widget mechanism

This commit is contained in:
Jeremy Ruston 2013-10-25 22:30:15 +01:00
parent bdcead624a
commit 925e22c46f

View File

@ -147,7 +147,7 @@ var Command = function(params,commander,callback) {
path: /^\/$/,
handler: function(request,response,state) {
response.writeHead(200, {"Content-Type": state.server.get("serveType")});
var text = state.wiki.renderTiddler(state.server.get("renderType"),state.server.get("rootTiddler"));
var text = state.wiki.new_renderTiddler(state.server.get("renderType"),state.server.get("rootTiddler"));
response.end(text,"utf8");
}
});