1
0
mirror of https://github.com/vrtmrz/obsidian-livesync.git synced 2025-08-10 22:11:45 +02:00

Add default values to a new SetupURI.

This commit is contained in:
vorotamoroz
2024-11-11 08:05:10 +00:00
parent fc04c557fc
commit 8809aee327

View File

@@ -32,6 +32,10 @@ async function main() {
"syncAfterMerge": false, "syncAfterMerge": false,
"concurrencyOfReadChunksOnline": 100, "concurrencyOfReadChunksOnline": 100,
"minimumIntervalOfReadChunksOnline": 100, "minimumIntervalOfReadChunksOnline": 100,
"handleFilenameCaseSensitive": false,
"doNotUseFixedRevisionForChunks": false,
"settingVersion": 10,
"notifyThresholdOfRemoteStorageSize": 800
} }
const encryptedConf = encodeURIComponent(await encrypt(JSON.stringify(conf), uri_passphrase, false)); const encryptedConf = encodeURIComponent(await encrypt(JSON.stringify(conf), uri_passphrase, false));
const theURI = `${URIBASE}${encryptedConf}`; const theURI = `${URIBASE}${encryptedConf}`;