Merge pull request #4305 from EHfive/fix-luci-app-frpc-prop-subdomain
authorJo-Philipp Wich <jo@mein.io>
Wed, 2 Jun 2021 06:29:07 +0000 (08:29 +0200)
committerGitHub <noreply@github.com>
Wed, 2 Jun 2021 06:29:07 +0000 (08:29 +0200)
luci-app-frpc: correct prop name 'subdomain'

1  2 
applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js

index a103563b6ab81007224b239195daa9fc3c0b2f04,f4039964f6e79d61be76019f7a5b04593ad1cde0..11385b469d161ee58e66268681eeb8f9901cfeab
@@@ -33,8 -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 = [
@@@ -51,7 -50,7 +51,7 @@@ var bindInfoConf = 
  
  var domainConf = [
        [form.Value, 'custom_domains', _('Custom domains')],
-       [form.Value, 'sub_domain', _('Subdomain')],
+       [form.Value, 'subdomain', _('Subdomain')],
  ];
  
  var httpProxyConf = [