install_uifile 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [{
  2. "step_title": "Install Settings",
  3. "items": [{
  4. "type": "textfield",
  5. "desc": "Listening Ports",
  6. "subitems": [{
  7. "key": "hbbs_port",
  8. "desc": "RustDesk ID Server Port",
  9. "defaultValue": "21116",
  10. "validator": {
  11. "allowBlank": false,
  12. "regex": {
  13. "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])$/",
  14. "errorText": "Digit number only"
  15. }
  16. }
  17. }, {
  18. "key": "hbbr_port",
  19. "desc": "RustDesk Relay Server Port",
  20. "defaultValue": "21117",
  21. "validator": {
  22. "allowBlank": false,
  23. "regex": {
  24. "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])$/",
  25. "errorText": "Digit number only"
  26. }
  27. }
  28. }]
  29. },{
  30. "type": "textfield",
  31. "desc": "Registered email, check http://rustdesk.com/server for more information",
  32. "subitems": [{
  33. "key": "email",
  34. "desc": "Email",
  35. "validator": {
  36. "allowBlank": false,
  37. "regex": {
  38. "expr": "/^\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$/",
  39. "errorText": "Invalid email format"
  40. }
  41. }
  42. }]
  43. },{
  44. "type": "textfield",
  45. "desc": "Only allow the client with the same key",
  46. "subitems": [{
  47. "key": "key",
  48. "desc": "Key",
  49. "validator": {
  50. "allowBlank": true
  51. }
  52. }]
  53. }]
  54. }]