mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
added support for explicit proxy
This commit is contained in:
@@ -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
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user