BenMQ/laughing-avenger

Socket.io listens to correct port number

BenMQ opened this issue · 2 comments

In main.js, do this

window.socket = io.connect(":4321/");

However the port number needs to be a variable that we serve from app.js, instead of hard-coded like the example above.