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
fix(setup): trailing slash affects sync (closes #8045)
Elian Doran043e6202312f
diff --git a/apps/client/src/setup.ts b/apps/client/src/setup.tsindex 30232b85a3..67ad3e835d 100644--- a/apps/client/src/setup.ts+++ b/apps/client/src/setup.ts@@ -99,7 +99,7 @@ class SetupController {}private async finish() {- const syncServerHost = this.syncServerHostInput.value.trim();+ const syncServerHost = this.syncServerHostInput.value.trim().replace(/\/+$/, "");const syncProxy = this.syncProxyInput.value.trim();const password = this.passwordInput.value;