Commit 747b78c7 authored by nanahira's avatar nanahira

fix

parent 5dd883b3
Pipeline #17323 passed with stages
in 9 minutes and 16 seconds
...@@ -609,7 +609,7 @@ init = () -> ...@@ -609,7 +609,7 @@ init = () ->
ws = require 'ws' ws = require 'ws'
neosHttpServer = null neosHttpServer = null
if settings.modules.http.ssl.enabled if settings.modules.http.ssl.enabled
neosHttpServer = https.createServer(httpsOptions, neosRequestListener) neosHttpServer = https.createServer(httpsOptions)
else else
neosHttpServer = http.createServer() neosHttpServer = http.createServer()
neosWsServer = new ws.WebSocketServer({server: neosHttpServer}) neosWsServer = new ws.WebSocketServer({server: neosHttpServer})
......
...@@ -783,7 +783,7 @@ ...@@ -783,7 +783,7 @@
ws = require('ws'); ws = require('ws');
neosHttpServer = null; neosHttpServer = null;
if (settings.modules.http.ssl.enabled) { if (settings.modules.http.ssl.enabled) {
neosHttpServer = https.createServer(httpsOptions, neosRequestListener); neosHttpServer = https.createServer(httpsOptions);
} else { } else {
neosHttpServer = http.createServer(); neosHttpServer = http.createServer();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment