• mqtt: Add configuration setting for websocket port

    From Rick Parrish@1:103/705 to GitLab issue in main/sbbs on Thursday, August 10, 2023 20:14:10
    open https://gitlab.synchro.net/main/sbbs/-/issues/600

    A browser-based node spy will need to connect to the mqtt broker using websockets, so a second "Broker Websocket Port" or "Broker WSS Port" setting will be needed to support this.Would it make sense to include in SCFG and store in main.ini? Or since this could be considered an optional feature, maybe it would make more sense as a modopts.ini setting instead?
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Saturday, August 12, 2023 13:09:01
    https://gitlab.synchro.net/main/sbbs/-/issues/600#note_3760

    The settings adjusted in SCFG and those used by the native SBBS components (written in C/C++), at least currently. So yeah, modopts.ini seems the more correct place for a property/setting that's only used by a JS/SSJS component.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rick Parrish@1:103/705 to GitLab note in main/sbbs on Saturday, August 12, 2023 18:10:12
    https://gitlab.synchro.net/main/sbbs/-/issues/600#note_3764

    Thanks, that makes sense. I've used modopts.ini so I'll close the issue.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rick Parrish@1:103/705 to GitLab issue in main/sbbs on Saturday, August 12, 2023 18:10:12
    close https://gitlab.synchro.net/main/sbbs/-/issues/600
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)