fix(setup): trailing slash affects sync (closes #8045)

This commit is contained in:
Elian Doran
2026-04-10 21:09:29 +03:00
parent d3dbdd4ceb
commit 043e620231

View File

@@ -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;