simplewebrtc / signalmaster

simple socket.io server for webrtc signaling
Other
1.31k stars 486 forks source link

when I change the port to 80. show error! #55

Open guoxiangke opened 8 years ago

guoxiangke commented 8 years ago

image

xdumaine commented 8 years ago

Option log level is not valid. Please refer to the README

guoxiangke commented 8 years ago

when I use: sudo node server.js it works n0 error! but when I visit directly the socket url: ..X.*:8888/socket.io/?EIO=3&transport=polling&t=1449713544488-0 the response download & the content is: image

MichaelJCole commented 8 years ago

This is cause by the config value here

That gets passed to socket.io here

Socket.io uses the debug library for logging now, so the log-level is depricated. Not sure why it had to be a fatal error, seems like it is.