mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix linting issues and add servers to web config
This commit is contained in:
parent
4553215841
commit
982ae411c5
5 changed files with 23 additions and 14 deletions
|
@ -507,7 +507,7 @@ class AppRouter {
|
|||
|
||||
this.firstConnectionResult = null;
|
||||
if (firstResult && firstResult.State === 'ServerSignIn' && !route.anonymous) {
|
||||
let url = ApiClient.serverAddress() + '/System/Info/Public';
|
||||
const url = ApiClient.serverAddress() + '/System/Info/Public';
|
||||
fetch(url).then(response => {
|
||||
if (!response.ok) return Promise.reject('fetch failed');
|
||||
return response.json();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue