diff options
author | Jo-Philipp Wich <jo@mein.io> | 2023-04-28 23:52:45 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2023-04-28 23:52:45 +0200 |
commit | 58f7b27adf0087721dcb509f16745203513e15e8 (patch) | |
tree | 274861f93050450b54bf9999e8883471f69460f3 /modules/luci-mod-system/htdocs/luci-static/resources | |
parent | 39d387f34c083afab9589952c6bcc9a0028cc9da (diff) |
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>
Diffstat (limited to 'modules/luci-mod-system/htdocs/luci-static/resources')
-rw-r--r-- | modules/luci-mod-system/htdocs/luci-static/resources/view/system/uhttpd.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/uhttpd.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/uhttpd.js index d02e18505a..6febb4cc17 100644 --- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/uhttpd.js +++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/uhttpd.js @@ -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(); |