mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-31 15:42:59 +00:00 
			
		
		
		
	Fix and a script for serving wikis over http
Makes it easier to test on the iPad
This commit is contained in:
		| @@ -167,10 +167,7 @@ var commandLineSwitches = { | ||||
| 			// Dumbly, this implementation wastes the recipe processing that happened on the --recipe switch | ||||
| 			http.createServer(function(request, response) { | ||||
| 				response.writeHead(200, {"Content-Type": "text/html"}); | ||||
| 				var store = new WikiStore(); | ||||
| 				var recipe = new Recipe({store: store,filepath: lastRecipeFilepath},function() { | ||||
| 				response.end(recipe.cook(), "utf8");	 | ||||
| 				}); | ||||
| 			}).listen(port); | ||||
| 		} | ||||
| 	}, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jeremy Ruston
					Jeremy Ruston