leonceaklin
leonceaklin
RRailway
Created by leonceaklin on 8/7/2023 in #✋|help
expose HTTP + Websockets for (rather monolithic) Node.js-Application
Hello everyone. I'm currently trying to set up a nest.js app that uses both https and wss on differend endpoints (eg: "/items", "/realtime"). Locally, I just used two different ports for http and ws. What's the easiest way to make it work on railway, ideally with one url (api.example.com) where the protocol corresponding to the endpoint can be used? Thank you for your help!
7 replies