diff --git a/lib/server.js b/lib/server.js index 3f6dcee4..75e55857 100644 --- a/lib/server.js +++ b/lib/server.js @@ -95,11 +95,7 @@ }, lHTTPServer = function() { - if (expressApp) - Server = http.createServer(expressApp); - else - Server = http.createServer(controller); - + Server = http.createServer(expressApp || controller); Server.on('error', Util.log); Server.listen(lPort, lIP); lServerLog(lHTTP, lPort);