This commit is contained in:
rustdesk
2021-04-04 01:44:14 +08:00
parent 005720b5b2
commit 600fcfbe3b
4 changed files with 49 additions and 36 deletions

View File

@@ -2,33 +2,40 @@
"step_title": "Install Settings",
"items": [{
"type": "textfield",
"desc": "RustDesk中继服务器端口",
"subitems": [{
"key": "hbbr_port",
"desc": "TCP",
"defaultValue": "21117",
"validator": {
"allowBlank": false,
"regex": {
"expr": "/^([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$/",
"errorText": "端口号必须为数字"
}
}
}]
}, {
"type": "textfield",
"desc": "RustDesk ID/注册服务器端口",
"desc": "Listening Ports",
"subitems": [{
"key": "hbbs_port",
"desc": "ID/注册服务端口TCP/UDP",
"desc": "RustDesk ID Server Port",
"defaultValue": "21116",
"validator": {
"allowBlank": false,
"regex": {
"expr": "/^([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$/",
"errorText": "端口号必须为数字"
"errorText": "Digit number only"
}
}
}, {
"key": "hbbr_port",
"desc": "RustDesk Relay Server Port",
"defaultValue": "21117",
"validator": {
"allowBlank": false,
"regex": {
"expr": "/^([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$/",
"errorText": "Digit number only"
}
}
}]
}
},{
"type": "textfield",
"desc": "Only allow the client with the same key",
"subitems": [{
"key": "key",
"desc": "Key",
"defaultValue": "21117",
"validator": {
"allowBlank": True,
}
}]
}]
}]