From 870529f76b3ccd421edb5af9500410ff8c058272 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 24 Jan 2012 16:25:21 +0000 Subject: [PATCH] =?UTF-8?q?Fixed=20problem=20with=20=E2=80=94servewiki=20o?= =?UTF-8?q?ption?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tiddlywiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiddlywiki.js b/tiddlywiki.js index fa53d75b8..7dd10fc5d 100644 --- a/tiddlywiki.js +++ b/tiddlywiki.js @@ -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);