| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- [{
- "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": "Registered email, check http://rustdesk.com/server for more information",
- "subitems": [{
- "key": "email",
- "desc": "Email",
- "validator": {
- "allowBlank": false,
- "regex": {
- "expr": "/^\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$/",
- "errorText": "Invalid email format"
- }
- }
- }]
- },{
- "type": "textfield",
- "desc": "Only allow the client with the same key",
- "subitems": [{
- "key": "key",
- "desc": "Key",
- "validator": {
- "allowBlank": true
- }
- }]
- }]
- }]
|