1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix suggestions

This commit is contained in:
MrTimscampi 2020-08-16 16:12:33 +02:00
parent 58361ce70c
commit 667576e056
3 changed files with 2 additions and 6 deletions

View file

@ -170,7 +170,7 @@ function isLocalIpAddress(address) {
return false;
}
function getServerAddress(apiClient) {
export function getServerAddress(apiClient) {
const serverAddress = apiClient.serverAddress();
if (isValidIpAddress(serverAddress) && !isLocalIpAddress(serverAddress)) {