I know this is probably not a great place to poke around for "how to" code, but I've been spending a few day blocked over this, and I wonder what am I missing.
I've created a little hapi plugin of my own, that (like nes) uses the ws module.
it works fine over http / ws protocols, but it fails over https / wss protocols.
I don't think this is related with the server, because I've tested my solution, and @hapi/nes and nes seems to pull it off in the same exact server. So its down to me doing something silly.
Hi Nes team.
I know this is probably not a great place to poke around for "how to" code, but I've been spending a few day blocked over this, and I wonder what am I missing.
I've created a little hapi plugin of my own, that (like nes) uses the ws module.
it works fine over http / ws protocols, but it fails over https / wss protocols.
I don't think this is related with the server, because I've tested my solution, and @hapi/nes and nes seems to pull it off in the same exact server. So its down to me doing something silly.
The simplest thing I have is a 3 file setup:
https://github.com/websockets/ws/issues/1627
Can I get a little push in the right direction? Thanks