diff --git a/lib/server/main.js b/lib/server/main.js index 4a53cb58..70273708 100644 --- a/lib/server/main.js +++ b/lib/server/main.js @@ -194,10 +194,10 @@ lContentEncoding = ''; /* if type of file any, but img - then we shoud specify charset */ - if ( !Util.isContainStr(lType, 'img') ) + if (!Util.isContainStr(lType, 'img')) lContentEncoding = '; charset=UTF-8'; - if ( Util.isContainStr(p.query, 'download') ) + if (Util.isContainStr(p.query, 'download')) lType = 'application/octet-stream'; lRet = {