mafintosh / signalhub

Simple signalling server that can be used to coordinate handshaking with webrtc or other fun stuff.
MIT License
667 stars 97 forks source link

Allow non-HTTPS servers to be created #10

Closed hughsk closed 9 years ago

hughsk commented 9 years ago

Previously, opts was being passed to http.createServer, which only accepts a request-handling function as its first argument. Creating an HTTP server would result in the following error:

TypeError: listener must be a function

Thanks! :)

hughsk commented 9 years ago

Oh whoops, looks like this has already been fixed – my bad! :)