mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
Update get-can-sync.js
This commit is contained in:
parent
8b55b14b38
commit
a346829f9c
1 changed files with 0 additions and 3 deletions
|
|
@ -6,7 +6,6 @@ GET /watch-fs-can-sync
|
|||
\*/
|
||||
(function () {
|
||||
exports.method = 'GET';
|
||||
exports.aaa = 'bbb';
|
||||
|
||||
// route should start with something https://github.com/Jermolene/TiddlyWiki5/issues/4807
|
||||
exports.path = /^\/linonetwo\/watch-fs-can-sync$/;
|
||||
|
|
@ -14,8 +13,6 @@ GET /watch-fs-can-sync
|
|||
exports.handler = function handler(request, response, state) {
|
||||
response.writeHead(200, { 'Content-Type': 'application/json' });
|
||||
const { canSync } = state.wiki.watchFs;
|
||||
// DEBUG: console
|
||||
console.log(`canSync`, canSync);
|
||||
response.end(JSON.stringify(canSync), 'utf8');
|
||||
};
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue