From 5a56f420ead3a287837fa0f77eb33a3767874524 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 24 Feb 2014 11:04:26 -0500 Subject: [PATCH] refactor(server) start --- lib/server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/server.js b/lib/server.js index 61ba7dec..37d31951 100644 --- a/lib/server.js +++ b/lib/server.js @@ -1,4 +1,4 @@ -(function() { + (function() { 'use strict'; if (!global.cloudcmd) @@ -117,7 +117,7 @@ }; /* server mode or testing mode */ if (config.server) - if (isSSL) { + if (ssl) { Util.log('* Redirection http -> https is setted up'); serverLog(http, port);