mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
#98 proxy support for sync setup
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user