ssl port 443 support
Opened this issue · 0 comments
natesire commented
I am testing PeerJS. And I ran into a problem where the script downgraded me from port 443/SSL to a regular ws port 8080. Is there a way for me to mock the server on wss, port 443? I can set port 443...
But I can't set it to wss...
const fakeURL = 'wss://localhost:443/peerjs?key=peerjs&id=1&token=testToken';
const mockServer = new Server(fakeURL);