mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Remove logging from the server command
We really need to update the logging infrastructure
This commit is contained in:
parent
e449c0bb7d
commit
b6345a9223
@ -124,7 +124,6 @@ var Command = function(params,commander,callback) {
|
||||
if(fields["revision"]) {
|
||||
delete fields["revision"];
|
||||
}
|
||||
console.log("PUT tiddler",title)
|
||||
state.wiki.addTiddler(new $tw.Tiddler(fields,{title: title}));
|
||||
var changeCount = state.wiki.getChangeCount(title).toString();
|
||||
response.writeHead(204, "OK",{
|
||||
@ -138,7 +137,6 @@ console.log("PUT tiddler",title)
|
||||
path: /^\/bags\/default\/tiddlers\/(.+)$/,
|
||||
handler: function(request,response,state) {
|
||||
var title = decodeURIComponent(state.params[0]);
|
||||
console.log("DELETE tiddler",title)
|
||||
state.wiki.deleteTiddler(title);
|
||||
response.writeHead(204, "OK");
|
||||
response.end();
|
||||
|
Loading…
Reference in New Issue
Block a user