summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-xfrpc
diff options
context:
space:
mode:
authorDengfeng Liu <liudf0716@gmail.com>2022-10-14 08:29:27 +0000
committerDengfeng Liu <liudf0716@gmail.com>2022-10-14 08:29:27 +0000
commitca9def41a47075209d460e5c599e1cd987242dd6 (patch)
tree1f4e7364722c161f5f485031700a330f09bbccec /applications/luci-app-xfrpc
parenta12b467a65ff3f9ce9ee5eb8b4f69ac34ed6ca36 (diff)
luci-app-xfrpc: add subdomain to http&https config
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
Diffstat (limited to 'applications/luci-app-xfrpc')
-rw-r--r--applications/luci-app-xfrpc/htdocs/luci-static/resources/view/xfrpc.js6
1 files changed, 6 insertions, 0 deletions
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();
}
});