From 8a86bf287578c0abdc90ab9250a7f0169a079445 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 25 Oct 2013 14:22:13 +0000 Subject: [PATCH] chore(main) rm " " --- lib/server/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = {