mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-08-03 05:02:54 +00:00
fixed bug with application cahe forming on windows
This commit is contained in:
parent
a1a7892f05
commit
d40d35fecb
3 changed files with 5 additions and 5 deletions
|
|
@ -718,6 +718,7 @@ CloudServer.getReadFileFunc = function(pName){
|
|||
if(pFromCache_o && !pFromCache_o.cache &&
|
||||
CloudServer.Cache.isAllowed)
|
||||
CloudServer.Cache.set(pName, pData);
|
||||
|
||||
/* если кэш есть
|
||||
* сохраняем его в переменную
|
||||
* которая до этого будет пустая
|
||||
|
|
@ -736,8 +737,7 @@ CloudServer.getReadFileFunc = function(pName){
|
|||
}
|
||||
else{
|
||||
console.log(pError.path);
|
||||
if(pError.path !== 'passwd.json')
|
||||
{
|
||||
if(pError.path !== 'passwd.json'){
|
||||
console.log(pError);
|
||||
|
||||
/* sending page not found */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue