Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssl port 443 support #300

Open
natesire opened this issue May 29, 2020 · 0 comments
Open

ssl port 443 support #300

natesire opened this issue May 29, 2020 · 0 comments

Comments

@natesire
Copy link

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant