I want to deploy my peerjs server. Deploy PeerJS server on Heroku .I tried this. I deployed it on Heroku
myPeer = new Peer(undefined, {
host: 'https://host-name-here.com/',
secure : true,
port: 443
})
I used this in client files
Failed to load resource: net::ERR_NAME_NOT_RESOLVED
I am getting this error on deployed site. On the local Site, it's working fine so there is some deployment problem involved.