mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	#98, sync is now configured in the options
This commit is contained in:
		| @@ -34,6 +34,10 @@ async function initOptions(startNotePath, username, password) { | ||||
|     await optionService.createOption('encryptedDataKeyIv', ''); | ||||
|  | ||||
|     await passwordEncryptionService.setDataKey(password, utils.randomSecureToken(16)); | ||||
|  | ||||
|     await optionService.createOption('syncServerHost', '', false); | ||||
|     await optionService.createOption('syncServerTimeout', 5000, false); | ||||
|     await optionService.createOption('syncProxy', '', false); | ||||
| } | ||||
|  | ||||
| module.exports = { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user