mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fixed bug with reading from min folder
This commit is contained in:
parent
b41fc05a1e
commit
f16d6be560
2 changed files with 4 additions and 3 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 33f1283267d19de96106e64a883fadfd2f0cdd96
|
||||
Subproject commit 4e663f04516fafc0dc4045d1f35243abe6c9e2f8
|
||||
|
|
@ -177,7 +177,7 @@ CloudServer.Minify={
|
|||
CloudServer.CSSDIR + '/reset.css'],
|
||||
this._allowed.img):false;
|
||||
|
||||
this.MinFolder=lMinify.MinFolder;
|
||||
this.MinFolder = '/' + lMinify.MinFolder;
|
||||
}
|
||||
}),
|
||||
/* свойство показывающее случилась ли ошибка*/
|
||||
|
|
@ -385,6 +385,7 @@ CloudServer._controller=function(pReq, pRes)
|
|||
var lNoJS_s=CloudFunc.NOJS;
|
||||
var lFS_s=CloudFunc.FS;
|
||||
|
||||
console.log(pathname);
|
||||
if(pathname!=='/favicon.ico')
|
||||
{
|
||||
console.log("request for " + pathname + " received...");
|
||||
|
|
@ -487,7 +488,7 @@ CloudServer._controller=function(pReq, pRes)
|
|||
* загружаем сжатый html-файл в дальнейшем
|
||||
*/
|
||||
CloudServer.INDEX=(CloudServer.Minify.done.html?
|
||||
CloudServer.Minify.MinFolder+'index.min.html'
|
||||
'.' + CloudServer.Minify.MinFolder + 'index.min.html'
|
||||
:CloudServer.INDEX);
|
||||
/*
|
||||
* сохраним указатель на response
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue