1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Clipper: Added Clipper config screen and improved server

This commit is contained in:
Laurent Cozic
2018-05-25 13:30:27 +01:00
parent d11ecd8fac
commit e15f84716a
17 changed files with 303 additions and 29 deletions

View File

@ -34,7 +34,6 @@ const SyncTargetDropbox = require('lib/SyncTargetDropbox.js');
const EncryptionService = require('lib/services/EncryptionService');
const DecryptionWorker = require('lib/services/DecryptionWorker');
const BaseService = require('lib/services/BaseService');
const ClipperServer = require('lib/ClipperServer');
SyncTargetRegistry.addClass(SyncTargetFilesystem);
SyncTargetRegistry.addClass(SyncTargetOneDrive);
@ -493,13 +492,6 @@ class BaseApplication {
// await this.testing();process.exit();
const clipperLogger = new Logger();
clipperLogger.addTarget('file', { path: profileDir + '/log-clipper.txt' });
clipperLogger.addTarget('console');
this.clipperServer_ = new ClipperServer();
this.clipperServer_.setLogger(clipperLogger);
this.clipperServer_.start();
return argv;
}