Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(services/config): rename syncProxy to syncServerProxy for naming consistency
Panagiotis Papadopoulos2c2a40405646
diff --git a/config-sample.ini b/config-sample.iniindex 039a785161..90c7fa17ee 100644--- a/config-sample.ini+++ b/config-sample.ini@@ -31,4 +31,4 @@ trustedReverseProxy=false[Sync]#syncServerHost=#syncServerTimeout=-#syncProxy=\ No newline at end of file+#syncServerProxy=\ No newline at end of filediff --git a/src/services/config.ts b/src/services/config.tsindex c851503d02..dbbf644b54 100644--- a/src/services/config.ts+++ b/src/services/config.ts@@ -83,10 +83,9 @@ const config: TriliumConfig = {syncServerTimeout:process.env.TRILIUM_SYNC_SERVER_TIMEOUT || iniConfig?.Sync?.syncServerTimeout || "120000",- // @TriliumNextTODO: check if we can rename misnamed syncProxy to syncServerProxy without- // breaking backwards compatibility - for naming consistencysyncProxy:- process.env.TRILIUM_SYNC_SERVER_PROXY || iniConfig?.Sync?.syncProxy || ""+ // additionally checking in iniConfig for inconsistently named syncProxy for backwards compatibility+ process.env.TRILIUM_SYNC_SERVER_PROXY || iniConfig?.Sync?.syncProxy || iniConfig?.Sync?.syncServerProxy || ""}};