diff --git a/node_modules/minify b/node_modules/minify index a905c0aa..fa7b8547 160000 --- a/node_modules/minify +++ b/node_modules/minify @@ -1 +1 @@ -Subproject commit a905c0aa5b90dbd21126c9830e0a521cd49c7f3c +Subproject commit fa7b854756ac52e1c3bcf780a0178c882d129099 diff --git a/server.js b/server.js index 419298eb..78e63684 100644 --- a/server.js +++ b/server.js @@ -400,7 +400,7 @@ CloudServer._controller=function(pReq, pRes) * меняем название html-файла и * загружаем сжатый html-файл в дальнейшем */ - CloudServer.INDEX=(CloudServer.Minify._allow.html? + CloudServer.INDEX=(CloudServer.Minify._allowed.html? '.' + CloudServer.Minify.MinFolder + 'index.min.html' :CloudServer.INDEX); /* @@ -525,12 +525,12 @@ CloudServer._readDir=function (pError, pFiles) * we include minified version of * clien.js to index.html */ - lIndex = CloudServer.Minify._allow.css? + lIndex = CloudServer.Minify._allowed.css? lIndex.replace('','') .replace('/css/style.css',CloudServer.Minify.MinFolder + 'all.min.css') :lIndex; - lIndex = CloudServer.Minify._allow.js?lIndex.replace('client.js', + lIndex = CloudServer.Minify._allowed.js?lIndex.replace('client.js', CloudServer.Minify.MinFolder + 'client.min.js') :lIndex;