luci-app-xfrpc: add subdomain to http&https config
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
This commit is contained in:
parent
a12b467a65
commit
ca9def41a4
1 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue