Merge pull request #5205 from d3xt3r01/patch-1

Make the server field ignore the trailing slash
This commit is contained in:
Bill Thornton
2024-03-06 18:31:33 -05:00
committed by GitHub
+1 -1
View File
@@ -36,7 +36,7 @@ function handleConnectionResult(page, result) {
function submitServer(page) {
loading.show();
const host = page.querySelector('#txtServerHost').value;
const host = page.querySelector('#txtServerHost').value.replace(/\/+$/, '');
ServerConnections.connectToAddress(host, {
enableAutoLogin: appSettings.enableAutoLogin()
}).then(function(result) {