From: Dengfeng Liu Date: Fri, 14 Oct 2022 08:29:27 +0000 (+0000) Subject: luci-app-xfrpc: add subdomain to http&https config X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=ca9def41a47075209d460e5c599e1cd987242dd6;p=openwrt-luci.git luci-app-xfrpc: add subdomain to http&https config Signed-off-by: Dengfeng Liu --- diff --git a/applications/luci-app-xfrpc/htdocs/luci-static/resources/view/xfrpc.js b/applications/luci-app-xfrpc/htdocs/luci-static/resources/view/xfrpc.js index 1fe4b34ef9..97154f045f 100644 --- a/applications/luci-app-xfrpc/htdocs/luci-static/resources/view/xfrpc.js +++ b/applications/luci-app-xfrpc/htdocs/luci-static/resources/view/xfrpc.js @@ -157,6 +157,12 @@ return view.extend({ o.optional = true; o.modalonly = true; + o = s.taboption('http', form.Value, 'subdomain', _('Subdomain')); + o.depends.apply(o, [{type: 'http'}]); + o.depends.apply(o, [{type: 'https'}]); + o.optional = true; + o.modalonly = true; + return m.render(); } });