mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-04 11:07:07 +00:00
More efficient syncing
Thank you @PotOfCoffee2Go I ended up taking some of your code from #8101 to get this up and running. There's still some stuff missing (like the tests!) but it gets things moving.
This commit is contained in:
@@ -77,6 +77,10 @@ exports.handler = function(request,response,state) {
|
||||
title: "$:/config/multiwikiclient/recipe",
|
||||
text: recipe_name
|
||||
});
|
||||
writeTiddler({
|
||||
title: "$:/state/multiwikiclient/recipe/last_tiddler_id",
|
||||
text: $tw.mws.store.getRecipeLastTiddlerId(recipe_name).toString()
|
||||
});
|
||||
response.write(template.substring(markerPos + marker.length))
|
||||
// Finish response
|
||||
response.end();
|
||||
|
||||
Reference in New Issue
Block a user