mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 19:01:56 +00:00
luci-mod-system: uhttpd.js: remove flag option overrides
Use standard 0/1 values for the `redirect_https` option. Supersedes: #6332 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
@@ -12,9 +12,6 @@ return view.extend({
|
||||
s.addremove = false;
|
||||
|
||||
o = s.option(form.Flag, 'redirect_https', _('Redirect to HTTPS'), _('Enable automatic redirection of <abbr title="Hypertext Transfer Protocol">HTTP</abbr> requests to <abbr title="Hypertext Transfer Protocol Secure">HTTPS</abbr> port.'));
|
||||
o.enabled = 'on';
|
||||
o.disabled = 'off';
|
||||
o.default = o.disabled;
|
||||
o.rmempty = false;
|
||||
|
||||
return m.render();
|
||||
|
||||
Reference in New Issue
Block a user