remove unnecessary file'

This commit is contained in:
coderaiser 2012-06-14 08:29:52 +00:00
parent 12c934a390
commit fbf58aecb1
4 changed files with 3 additions and 17 deletions

1
.gitignore vendored
View file

@ -12,6 +12,7 @@ node_modules
cloudcmd.manifest.yml
cloudcmddemo.manifest.yml
demo-cloudcmd.manifest.yml
cdn-cloudcmd.manifest.yml
#herocu info file
Procfile

View file

@ -1 +0,0 @@
web: node server.js

View file

@ -1,13 +0,0 @@
---
applications:
.:
url: cdn-cloudcmd.cloudfoundry.com
framework:
name: node
runtime: node06
info:
mem: 1G
description: Node.JS Application
exec:
mem: 1G
instances: 1

View file

@ -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'};