mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Make the server field ignore the trailing slash.
Useful on the tizen build, if a trailing slash is added the error message is not helping.
This commit is contained in:
parent
71e53b177c
commit
045c950ce6
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