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:
parent
39d387f34c
commit
58f7b27adf
1 changed files with 0 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue