mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #5205 from d3xt3r01/patch-1
Make the server field ignore the trailing slash
This commit is contained in:
commit
9b2d337601
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue