pouyapanahandeh / moon

Simple video cal service.
GNU General Public License v3.0
0 stars 0 forks source link

PeerJs server error #2

Open pouyapanahandeh opened 3 years ago

pouyapanahandeh commented 3 years ago

Hi everyone,

I built an instant video call and it works on localhost but not Heroku and as you can see I got the following error. I tried different solutions that I found on StackOverflow and GitHub issue but none of them solve the problem. as I understood this is the part that causes the error: https://github.com/pouyapanahandeh/moon/blob/main/public/script.js

const myPeer = new Peer({
  secure: true,
  host: 'moon-call.herokuapp.com',
  port: 443
})
Screen Shot 2021-01-16 at 1 23 34 PM

technologies: expressjs, peerjs

gptshubham595 commented 3 years ago

any solution you got?

pouyapanahandeh commented 3 years ago

any solution you got?

nothing yet