From db452e355f9693e4d91acfb6e4b4439c377a74f0 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 29 Aug 2012 08:15:01 -0400 Subject: [PATCH] minor changes --- config.json | 2 +- server.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.json b/config.json index 4a0dccf7..d58f0b2d 100644 --- a/config.json +++ b/config.json @@ -1,7 +1,7 @@ { "cache" : {"allowed" : false}, "minification" : { - "js" : true, + "js" : false, "css" : true, "html" : true, "img" : true diff --git a/server.js b/server.js index 1a5ad52b..ba2d7f48 100644 --- a/server.js +++ b/server.js @@ -112,7 +112,7 @@ try { console.log(pError); } /* конструктор*/ -CloudServer.init=(function(){ +CloudServer.init = (function(){ /* Determining server.js directory * and chang current process directory * (usually /) to it. @@ -171,7 +171,7 @@ CloudServer.start = function () { process.env.app_port || /* nodester */ process.env.VCAP_APP_PORT || /* cloudfoundry */ CloudServer.Config.port; - + this.IP = process.env.IP || /* c9 */ CloudServer.Config.ip; @@ -268,7 +268,7 @@ CloudServer.generateHeaders = function(pName, pGzip){ * @req - запрос клиента (Request) * @res - ответ сервера (Response) */ -CloudServer._controller=function(pReq, pRes) +CloudServer._controller = function(pReq, pRes) { /* Читаем содержимое папки, переданное в url