mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-24 10:16:00 +03:00
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.
This commit is contained in:
parent
559a979536
commit
cb0c2e3b9c
1 changed files with 5 additions and 5 deletions
|
@ -843,8 +843,8 @@
|
|||
<label for="webUIReverseProxySupportCheckbox">QBT_TR(Enable reverse proxy support)QBT_TR[CONTEXT=OptionsDialog]</label>
|
||||
</legend>
|
||||
<div class="formRow">
|
||||
<label for="webUIReverseProxiesListTextarea">QBT_TR(Trusted proxies list:)QBT_TR[CONTEXT=OptionsDialog]</label>
|
||||
<input type="text" id="webUIReverseProxiesListTextarea" />
|
||||
<label for="webUIReverseProxiesListTextarea" class="leftLabelLarge">QBT_TR(Trusted proxies list:)QBT_TR[CONTEXT=OptionsDialog]</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
|
@ -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'));
|
||||
|
|
Loading…
Reference in a new issue