mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-02-01 23:57:37 +00:00
Added deletion support to HttpSync and LocalFileSync
This commit is contained in:
@@ -190,6 +190,11 @@ var commandLineSwitches = {
|
||||
response.end();
|
||||
});
|
||||
break;
|
||||
case "DELETE":
|
||||
app.store.deleteTiddler(decodeURIComponent(path.substr(1)));
|
||||
response.writeHead(204, "OK");
|
||||
response.end();
|
||||
break;
|
||||
case "GET":
|
||||
if(path === "/") {
|
||||
response.writeHead(200, {"Content-Type": "text/html"});
|
||||
|
||||
Reference in New Issue
Block a user