Merge pull request #6021 from liudf0716/xfrpc

luci-app-xfrpc: add subdomain option
This commit is contained in:
Jo-Philipp Wich 2022-10-15 01:02:11 +02:00 committed by GitHub
commit 5c3001345b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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