From cb0c2e3b9c118ec7a9cc138a1f0befc517f990a5 Mon Sep 17 00:00:00 2001 From: Likol Tung Date: Fri, 29 Oct 2021 11:50:09 +0800 Subject: [PATCH] Fix WebUI reverse proxy section doesn't work As title. because load with incorrect key. Also moving proxy list label to left, screenshot: https://imgur.com/Rz038uW PR #15634. --- src/webui/www/private/views/preferences.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/webui/www/private/views/preferences.html b/src/webui/www/private/views/preferences.html index 1b4fd1cf9..8df54e7a2 100644 --- a/src/webui/www/private/views/preferences.html +++ b/src/webui/www/private/views/preferences.html @@ -843,8 +843,8 @@
+ -
@@ -1904,8 +1904,8 @@ updateWebUICustomHTTPHeadersSettings(); // Reverse Proxy - $('webUIReverseProxySupportCheckbox').setProperty('checked', pref.web_ui_reverse_proxy_support_enabled); - $('webUIReverseProxiesListTextarea').setProperty('value', pref.web_ui_trusted_reverse_proxies_list); + $('webUIReverseProxySupportCheckbox').setProperty('checked', pref.web_ui_reverse_proxy_enabled); + $('webUIReverseProxiesListTextarea').setProperty('value', pref.web_ui_reverse_proxies_list); updateWebUIReverseProxySettings(); // Update my dynamic domain name @@ -2300,8 +2300,8 @@ settings.set('web_ui_custom_http_headers', $('webUICustomHTTPHeadersTextarea').getProperty('value')); // Reverse Proxy - settings.set('web_ui_reverse_proxy_support_enabled', $('webUIReverseProxySupportCheckbox').getProperty('checked')); - settings.set('web_ui_trusted_reverse_proxies_list', $('webUIReverseProxiesListTextarea').getProperty('value')); + settings.set('web_ui_reverse_proxy_enabled', $('webUIReverseProxySupportCheckbox').getProperty('checked')); + settings.set('web_ui_reverse_proxies_list', $('webUIReverseProxiesListTextarea').getProperty('value')); // Update my dynamic domain name settings.set('dyndns_enabled', $('use_dyndns_checkbox').getProperty('checked'));