mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 01:47:35 +00:00
minor changes
This commit is contained in:
parent
5f52fecae1
commit
355a1b0f34
1 changed files with 11 additions and 9 deletions
20
cloudcmd.js
20
cloudcmd.js
|
|
@ -199,15 +199,17 @@
|
|||
main.sendFile(pParams);
|
||||
|
||||
lRet = true;
|
||||
}else if( Util.isContainStr(lName, [CloudFunc.Fs, CloudFunc.NoJS] ) ||
|
||||
Util.strCmp(lName, '/') ||
|
||||
Util.strCmp(lName, 'json') ) {
|
||||
lRet = main.commander.sendContent({
|
||||
request : pParams[REQUEST],
|
||||
response : pParams[RESPONSE],
|
||||
processing : indexProcessing,
|
||||
index : Minify.allowed.html ? Minify.getName(INDEX) : INDEX
|
||||
});
|
||||
}else if( Util.isContainStr(lName, CloudFunc.FS) ||
|
||||
Util.isContainStr(lName, CloudFunc.NO_JS ) ||
|
||||
Util.strCmp(lName, '/') ||
|
||||
Util.strCmp(lName, 'json') ){
|
||||
|
||||
lRet = main.commander.sendContent({
|
||||
request : pParams[REQUEST],
|
||||
response : pParams[RESPONSE],
|
||||
processing : indexProcessing,
|
||||
index : Minify.allowed.html ? Minify.getName(INDEX) : INDEX
|
||||
});
|
||||
}
|
||||
|
||||
return lRet;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue