refactor(server) start

This commit is contained in:
coderaiser 2013-10-24 13:02:38 +00:00
parent e25d526ac4
commit 00b30d4f19

View file

@ -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);