mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
remove unnecessary file'
This commit is contained in:
parent
12c934a390
commit
fbf58aecb1
4 changed files with 3 additions and 17 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -12,6 +12,7 @@ node_modules
|
|||
cloudcmd.manifest.yml
|
||||
cloudcmddemo.manifest.yml
|
||||
demo-cloudcmd.manifest.yml
|
||||
cdn-cloudcmd.manifest.yml
|
||||
|
||||
#herocu info file
|
||||
Procfile
|
||||
|
|
|
|||
1
Procfile
1
Procfile
|
|
@ -1 +0,0 @@
|
|||
web: node server.js
|
||||
|
|
@ -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
|
||||
|
|
@ -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