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

Remove auto port forward options

This commit is contained in:
viown 2024-12-15 12:56:55 +03:00
parent e0e266d1a6
commit fb1ef7d905
5 changed files with 4 additions and 27 deletions

View file

@ -11,13 +11,6 @@
</label>
<div class="fieldDescription checkboxFieldDescription">${AllowRemoteAccessHelp}</div>
</div>
<div class="checkboxContainer checkboxContainer-withDescription">
<label>
<input type="checkbox" is="emby-checkbox" id="chkEnableUpnp" />
<span>${LabelEnableAutomaticPortMap}</span>
</label>
<div class="fieldDescription checkboxFieldDescription">${LabelEnableAutomaticPortMapHelp}</div>
</div>
<br />
<div class="wizardNavigation">
<button is="emby-button" type="button" class="raised button-cancel" onclick="history.back();">

View file

@ -8,8 +8,7 @@ function save(page) {
loading.show();
const apiClient = ApiClient;
const config = {
EnableRemoteAccess: page.querySelector('#chkRemoteAccess').checked,
EnableAutomaticPortMapping: page.querySelector('#chkEnableUpnp').checked
EnableRemoteAccess: page.querySelector('#chkRemoteAccess').checked
};
apiClient.ajax({