mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fixed bug: wrong _allowed property was
This commit is contained in:
parent
29ed8c0f75
commit
d5dc365211
2 changed files with 4 additions and 4 deletions
2
node_modules/minify
generated
vendored
2
node_modules/minify
generated
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit a905c0aa5b90dbd21126c9830e0a521cd49c7f3c
|
||||
Subproject commit fa7b854756ac52e1c3bcf780a0178c882d129099
|
||||
|
|
@ -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('<link rel=stylesheet href="/css/reset.css">','')
|
||||
.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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue