summaryrefslogtreecommitdiffstats
path: root/server/bin/www
diff options
context:
space:
mode:
Diffstat (limited to 'server/bin/www')
-rwxr-xr-xserver/bin/www7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/bin/www b/server/bin/www
index 3618506..3cfebbd 100755
--- a/server/bin/www
+++ b/server/bin/www
@@ -32,6 +32,13 @@ var options = {
var server = https.createServer(options, app)
/**
+ * Setup socket.io.
+ */
+
+var io = require(path.join(__appdir, 'lib', 'socketio'))
+io.attach(server)
+
+/**
* Listen on provided port, on all network interfaces.
*/