BenMQ / laughing-avenger

CS3216 Assignment 1

Home Page:http://fragen.cmq.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Socket.io listens to correct port number

BenMQ opened this issue · 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.