mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2024-12-22 10:17:46 +08:00
42 lines
1.3 KiB
Plaintext
Executable File
42 lines
1.3 KiB
Plaintext
Executable File
[{
|
|
"step_title": "Install Settings",
|
|
"items": [{
|
|
"type": "textfield",
|
|
"desc": "Listening Ports",
|
|
"subitems": [{
|
|
"key": "hbbs_port",
|
|
"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": "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,
|
|
}
|
|
}]
|
|
}]
|
|
}]
|