mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 08:56:20 +00:00
removing gzip compression
This commit is contained in:
parent
b3b7e55e35
commit
fb602f4cda
1 changed files with 2 additions and 2 deletions
|
|
@ -160,7 +160,7 @@ var Zlib;
|
|||
/* node v0.4 not contains zlib
|
||||
*/
|
||||
try{
|
||||
Zlib = require('zlib'); /* модуль для сжатия данных gzip-ом*/
|
||||
Zlib = undefined; //require('zlib'); /* модуль для сжатия данных gzip-ом*/
|
||||
}catch(error){
|
||||
Zlib=undefined;
|
||||
console.log('to use gzip-commpression' +
|
||||
|
|
@ -635,4 +635,4 @@ CloudServer.sendResponse = function(pHead, pData,pName){
|
|||
}
|
||||
};
|
||||
|
||||
CloudServer.start();
|
||||
CloudServer.start();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue