mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update networking.js
Checking for ip4/ip6 disabled.
This commit is contained in:
parent
5a6aec431a
commit
33546e374b
1 changed files with 4 additions and 0 deletions
|
@ -93,6 +93,10 @@ import alert from '../../components/alert';
|
||||||
return 'The http and https ports must be different.';
|
return 'The http and https ports must be different.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!form.querySelector('#chkEnableIP6').checked && !form.querySelector('#chkEnableIP4').checked) {
|
||||||
|
return 'Either IPv4 or IPv6 need to be checked.'
|
||||||
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue