mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-29 02:30:28 +00:00
remove unnecessary file'
This commit is contained in:
parent
12c934a390
commit
fbf58aecb1
4 changed files with 3 additions and 17 deletions
|
|
@ -336,8 +336,7 @@ CloudServer._controller=function(pReq, pRes)
|
|||
if(pathname==='')pathname='/';
|
||||
|
||||
RightDir=pathname;
|
||||
LeftDir=pathname;
|
||||
//DirContent=fs.readdirSync(LeftDir);
|
||||
LeftDir=pathname;
|
||||
|
||||
/* если встретиться пробел -
|
||||
* меня код символа пробела на пробел
|
||||
|
|
@ -397,7 +396,7 @@ CloudServer._readDir=function (pError, pFiles)
|
|||
RightDir+='/';
|
||||
LeftDir+='/';
|
||||
}
|
||||
//DirContent=
|
||||
|
||||
pFiles=pFiles.sort();
|
||||
|
||||
lJSON[0]={path:LeftDir,size:'dir'};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue