mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 17:35:34 +00:00
chore(main) mv lZipStream on top
This commit is contained in:
parent
1ea6be02bd
commit
f3be9e70fb
1 changed files with 1 additions and 3 deletions
|
|
@ -218,7 +218,7 @@
|
|||
* @param pGzip - данные сжаты gzip'ом
|
||||
*/
|
||||
function sendFile(pParams){
|
||||
var lRet = checkParams(pParams);
|
||||
var lZipStream, lRet = checkParams(pParams);
|
||||
|
||||
if(lRet){
|
||||
var p = pParams,
|
||||
|
|
@ -240,8 +240,6 @@
|
|||
query : getQuery(p.request)
|
||||
}) );
|
||||
|
||||
var lZipStream;
|
||||
|
||||
if (lGzip && !p.gziped)
|
||||
lZipStream = lReadStream.pipe( zlib.createGzip() );
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue