mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 07:15:51 +01:00
uniform requests through electron's net and node http/https to support different proxy setups
This commit is contained in:
@@ -17,6 +17,6 @@ async function get(name) {
|
||||
module.exports = {
|
||||
getSyncServerHost: async () => await get('syncServerHost'),
|
||||
isSyncSetup: async () => !!await get('syncServerHost'),
|
||||
getSyncTimeout: async () => await get('syncServerTimeout'),
|
||||
getSyncTimeout: async () => parseInt(await get('syncServerTimeout')),
|
||||
getSyncProxy: async () => await get('syncProxy')
|
||||
};
|
||||
Reference in New Issue
Block a user