Express.io with https.createServer
Hi,
I have been useing express.io, then a passing app into http.createServer and https.createServer, but am getting 404 for /socket.io/socket.io.js. I read on Stack Overflow that the only way it works is if I call app.listen, is this true? If so, how exactly do I pass in my https stuff (I am using SNI) and all that?
Thanks, Ari
https://github.com/techpines/express.io/tree/master/lib#properties-1
You might not be using express.io correctly var app = require('express.io')(); app.http().io(); and then app.listen(port). I'm not familiar with SNI but it sounds like you might not be including the socket.io.js script on the front end.
Also this isn't stack overflow, it might be more fitting to ask a SO question and then complain about it in an issue if it isn't getting any attention