minor changes

This commit is contained in:
coderaiser 2013-03-10 06:51:52 -04:00
parent 788eaec75f
commit 7485ccb59e

View file

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