mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
minor changes
This commit is contained in:
parent
948f268d7a
commit
db452e355f
2 changed files with 4 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"cache" : {"allowed" : false},
|
||||
"minification" : {
|
||||
"js" : true,
|
||||
"js" : false,
|
||||
"css" : true,
|
||||
"html" : true,
|
||||
"img" : true
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue