mirror of
https://github.com/mclueppers/xo-server.git
synced 2025-07-28 08:24:28 +02:00
Bug fix.
This commit is contained in:
parent
f23905f5ee
commit
0f3c3920a1
@ -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/',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user