added support for explicit proxy

This commit is contained in:
azivner
2018-12-17 22:54:54 +01:00
parent 7c3bbfd45e
commit 44cc86a1a5
2 changed files with 32 additions and 10 deletions

View File

@@ -223,7 +223,8 @@ async function syncRequest(syncContext, method, requestPath, body) {
url: await syncOptions.getSyncServerHost() + requestPath,
cookieJar: syncContext.cookieJar,
timeout: await syncOptions.getSyncTimeout(),
body
body,
proxy: proxyToggle ? await syncOptions.getSyncProxy() : null
});
}