mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
11 lines
434 B
JavaScript
11 lines
434 B
JavaScript
"use strict";
|
|
|
|
const config = require('./config');
|
|
const optionService = require('./options');
|
|
|
|
module.exports = {
|
|
getSyncServer: async () => await optionService.getOption('syncServerHost'),
|
|
isSyncSetup: async () => !!await optionService.getOption('syncServerHost'),
|
|
getSyncTimeout: async () => await optionService.getOption('syncServerTimeout'),
|
|
getSyncProxy: async () => await optionService.getOption('syncProxy')
|
|
}; |