Closed spidgorny closed 2 years ago
Very weird, I don't know why this is happening :/
The intent is 100% to only need one listen
call and get the websocket for free, but I didn't have the time to figure out how to do this elegantly. listenWs
was really just a temporary measure to get the feature going until I was able to do this the right way.
AFAIK it's possible to have WebSockets server on the same port as the normal HTTP server. However when I tried this I got mixed results.
Firefox: shows the correct '/' controller.
Chrome: shows "Upgrade Required" with HTTP status 406.
I'm confused. Why would two browsers behave different? Anybody seen this before?