1
0
Fork 0
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:
BaronGreenback 2020-11-22 14:07:26 +00:00 committed by GitHub
parent 5a6aec431a
commit 33546e374b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,6 +93,10 @@ import alert from '../../components/alert';
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;
}