summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js
diff options
context:
space:
mode:
authorbrvphoenix <vanwaholtz@gmail.com>2020-12-15 05:11:59 -0800
committerVan Waholtz <vanwaholtz@gmail.com>2020-12-15 05:53:35 -0800
commit75586668ffdf5a7e19e4eb14fcc572759d791e51 (patch)
tree13c2bb3023615081699931afd09fa2470d3064e8 /applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js
parent4843841fda1e33eaf727c9626e2e8918fd5ee6ae (diff)
luci-app-frp: add the dynamiclist for additional parameters
Signed-off-by: Van Waholtz <vanwaholtz@gmail.com>
Diffstat (limited to 'applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js')
-rw-r--r--applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js b/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js
index d93655188b..a103563b6a 100644
--- a/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js
+++ b/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js
@@ -33,7 +33,8 @@ var commonConf = [
[form.ListValue, 'protocol', _('Protocol'), _('Protocol specifies the protocol to use when interacting with the server. Valid values are "tcp", "kcp", and "websocket".<br>By default, this value is "tcp".'), {values: ['tcp', 'kcp', 'websocket']}],
[form.Flag, 'tls_enable', _('TLS'), _('TLSEnable specifies whether or not TLS should be used when communicating with the server.'), {datatype: 'bool'}],
[form.Value, 'heartbeat_interval', _('Heartbeat interval'), _('HeartBeatInterval specifies at what interval heartbeats are sent to the server, in seconds. It is not recommended to change this value.<br>By default, this value is 30.'), {datatype: 'uinteger'}],
- [form.Value, 'heartbeat_timeout', _('Heartbeat timeout'), _('HeartBeatTimeout specifies the maximum allowed heartbeat response delay before the connection is terminated, in seconds. It is not recommended to change this value.<br>By default, this value is 90.'), {datatype: 'uinteger'}]
+ [form.Value, 'heartbeat_timeout', _('Heartbeat timeout'), _('HeartBeatTimeout specifies the maximum allowed heartbeat response delay before the connection is terminated, in seconds. It is not recommended to change this value.<br>By default, this value is 90.'), {datatype: 'uinteger'}],
+ [form.DynamicList, '_', _('Additional settings'), _('This list can be used to specify some additional parameters which have not been included in this LuCI.'), {placeholder: 'Key-A=Value-A'}]
];
var baseProxyConf = [