diff --git a/server.js b/server.js index 56a93fbf..70610c36 100644 --- a/server.js +++ b/server.js @@ -264,9 +264,8 @@ CloudServer._controller=function(pReq, pRes) if (lAcceptEncoding && lAcceptEncoding.match(/\bgzip\b/) && Zlib){ - this.Gzip=true; - }else - this.Gzip=false; + CloudCommander.Gzip=true; + } /* путь в ссылке, который говорит * что js отключен */