mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 19:01:56 +00:00
luci-app-frpc: Add the bind_addr & bind_port options to the visitor role.
Fix: https://github.com/openwrt/luci/issues/8024 Signed-off-by: Roc Lai <laipeng668@qq.com>
This commit is contained in:
@@ -69,6 +69,8 @@ var httpProxyConf = [
|
||||
var stcpProxyConf = [
|
||||
[form.ListValue, 'role', _('Role'), undefined, {values: ['server', 'visitor']}],
|
||||
[form.Value, 'server_name', _('Server name'), undefined, {depends: [{role: 'visitor'}]}],
|
||||
[form.Value, 'bind_addr', _('Bind addr'), undefined, {depends: [{role: 'visitor'}]}],
|
||||
[form.Value, 'bind_port', _('Bind port'), undefined, {depends: [{role: 'visitor'}]}],
|
||||
[form.Value, 'sk', _('Sk')],
|
||||
];
|
||||
|
||||
|
||||
@@ -342,6 +342,14 @@ msgstr "崩溃时重启"
|
||||
msgid "Role"
|
||||
msgstr "角色"
|
||||
|
||||
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:72
|
||||
msgid "Bind addr"
|
||||
msgstr "绑定地址"
|
||||
|
||||
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:73
|
||||
msgid "Bind port"
|
||||
msgstr "绑定端口"
|
||||
|
||||
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:13
|
||||
msgid "Run daemon as group"
|
||||
msgstr "以此组权限运行"
|
||||
|
||||
@@ -341,6 +341,14 @@ msgstr "崩潰時重生"
|
||||
msgid "Role"
|
||||
msgstr "角色"
|
||||
|
||||
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:72
|
||||
msgid "Bind addr"
|
||||
msgstr "綁定位址"
|
||||
|
||||
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:73
|
||||
msgid "Bind port"
|
||||
msgstr "綁定埠號"
|
||||
|
||||
#: applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js:13
|
||||
msgid "Run daemon as group"
|
||||
msgstr "以群組執行背景執行"
|
||||
|
||||
Reference in New Issue
Block a user