Last active
December 22, 2015 04:19
-
-
Save brandon-barker/6416563 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// socket.io initialization | |
var server = http.createServer(app).listen(3000); | |
var io = require('socket.io').listen(server); | |
io.set('log level', 1); // reduce logging |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment