install_uifile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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": "Only allow the client with the same key",
  32. "subitems": [{
  33. "key": "key",
  34. "desc": "Key",
  35. "defaultValue": "21117",
  36. "validator": {
  37. "allowBlank": True,
  38. }
  39. }]
  40. }]
  41. }]