Fixed problem with —servewiki option

print-window-tiddler
Jeremy Ruston 2012-01-24 16:25:21 +00:00
rodzic 7375614849
commit 870529f76b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -154,7 +154,7 @@ var commandLineSwitches = {
http.createServer(function(request, response) {
response.writeHead(200, {"Content-Type": "text/html"});
var store = new WikiStore();
var recipe = new Recipe(store,lastRecipeFilepath,function() {
var recipe = new Recipe({store: store,filepath: lastRecipeFilepath},function() {
response.end(recipe.cook(), "utf8");
});
}).listen(port);