#98 proxy support for sync setup

This commit is contained in:
azivner
2018-07-25 08:30:41 +02:00
parent 0ece9bd1be
commit c8253caae9
7 changed files with 40 additions and 25 deletions

View File

@@ -10,9 +10,9 @@ async function setupNewDocument(req) {
}
async function setupSyncFromServer(req) {
const { serverAddress, username, password } = req.body;
const { syncServerHost, syncProxy, username, password } = req.body;
return await setupService.setupSyncFromSyncServer(serverAddress, username, password);
return await setupService.setupSyncFromSyncServer(syncServerHost, syncProxy, username, password);
}
async function setupSyncFromClient(req) {