This commit is contained in:
Julien Fontanet 2013-10-30 17:10:03 +01:00
parent f23905f5ee
commit 0f3c3920a1

View File

@ -170,7 +170,7 @@ xo.on('started', function () {
// } // }
// http_servers.forEach(function (http_server) { // http_servers.forEach(function (http_server) {
// http_server.on('connection', function () { // http_server.on('listening', function () {
// new WSServer({ // new WSServer({
// 'server': http_server, // 'server': http_server,
// 'path': '/websockify', // 'path': '/websockify',
@ -209,7 +209,7 @@ xo.on('started', function () {
} }
http_servers.forEach(function (http_server) { http_servers.forEach(function (http_server) {
http_server.on('connection', function () { http_server.on('listening', function () {
new WSServer({ new WSServer({
'server': http_server, 'server': http_server,
'path': '/api/', 'path': '/api/',