luci-app-xfrpc: add subdomain to http&https config

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
This commit is contained in:
Dengfeng Liu 2022-10-14 08:29:27 +00:00
parent a12b467a65
commit ca9def41a4

View file

@ -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();
}
});