luci-app-uhttpd: bugfix
authorRamon Van Gorkom <[email protected]>
Sun, 22 Jun 2025 11:47:39 +0000 (13:47 +0200)
committerPaul Donald <[email protected]>
Fri, 4 Jul 2025 12:45:05 +0000 (14:45 +0200)
bug fix luci-app-uhttpd
Signed-off-by: Ramon Van Gorkom <[email protected]>
(cherry picked from commit 855e38245eb49c5f54df35334f4221f33642bcbf)

applications/luci-app-uhttpd/htdocs/luci-static/resources/view/uhttpd/uhttpd.js

index 723714a0c640bf03747461d98ff42200896615c7..598820edaccc8f7f41e24e6136de55999d4e9d0d 100644 (file)
@@ -57,9 +57,6 @@ return view.extend({
                lhttps = s.taboption('general', form.DynamicList, 'listen_https', _('HTTPS listener (address:port)'), _('Bind to specific interface:port (by specifying interface address)'));
                lhttps.datatype = 'list(ipaddrport(1))';
 
-               var cert = uci.get('uhttpd', 'main', 'cert');
-               var key = uci.get('uhttpd', 'main', 'key');
-
                lhttps.validate = function (section_id, value) {
                        let have_https_listener = false;
                        let have_http_listener = false;
@@ -95,8 +92,6 @@ return view.extend({
                        return true;
                };
 
-               lhttps.depends({ cert, key });
-
                o = s.taboption('general', form.Flag, 'redirect_https', _('Redirect all HTTP to HTTPS'));
                o.default = o.enabled;
                o.rmempty = false;