1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-04-21 14:21:30 +00:00

Merge branch 'master' into external-tasks

This commit is contained in:
Jeremy Ruston
2019-10-22 21:52:41 +01:00
156 changed files with 785 additions and 636 deletions

View File

@@ -34,6 +34,7 @@ exports.handler = function(request,response,state) {
}
});
tiddlerFields.revision = state.wiki.getChangeCount(title);
tiddlerFields.bag = "default";
tiddlerFields.type = tiddlerFields.type || "text/vnd.tiddlywiki";
response.writeHead(200, {"Content-Type": "application/json"});
response.end(JSON.stringify(tiddlerFields),"utf8");