From 7485ccb59e6314371d4fed0e996cdb7e900ff2da Mon Sep 17 00:00:00 2001 From: coderaiser Date: Sun, 10 Mar 2013 06:51:52 -0400 Subject: [PATCH] minor changes --- lib/server.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/server.js b/lib/server.js index bb4f63b0..28bed887 100644 --- a/lib/server.js +++ b/lib/server.js @@ -88,12 +88,12 @@ lHTTPServer = function(){ Server = http.createServer( controller ); Server.listen(lPort, lIP); - lServerLog('http'); + lServerLog('http', lPort); lSockets(Server); }, - lServerLog = function(pHTTP){ - Util.log('* Server running at ' + pHTTP + '://' + lIP + ':' + lPort); + lServerLog = function(pHTTP, pPort){ + Util.log('* Server running at ' + pHTTP + '://' + lIP + ':' + pPort); }; /* server mode or testing mode */ if (lConfig.server) { @@ -109,7 +109,7 @@ Server = https.createServer( lSSL, controller ); Server.on('error', function (pError) { - Util.log('Could not you https port: ' + lSSLPort); + Util.log('Could not use https port: ' + lSSLPort); Util.log(pError); lRedirectServer.close(); @@ -119,7 +119,7 @@ lSockets(); Server.listen(lSSLPort, lIP); - lServerLog('https'); + lServerLog('https', lSSLPort); } else lHTTPServer();