mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
minor changes
This commit is contained in:
parent
bd0fa05b53
commit
ffa8bd8d61
1 changed files with 2 additions and 3 deletions
|
|
@ -23,8 +23,7 @@
|
|||
REQUEST = 'request',
|
||||
RESPONSE = 'response',
|
||||
INDEX = HTMLDIR + 'index.html',
|
||||
FS = CloudFunc.FS,
|
||||
NO_JS = CloudFunc.NO_JS;
|
||||
FS = CloudFunc.FS;
|
||||
|
||||
/* reinit main dir os if we on
|
||||
* Win32 should be backslashes */
|
||||
|
|
@ -190,7 +189,7 @@
|
|||
pParams.name = main.HTMLDIR + lName + '.html';
|
||||
lRet = main.sendFile(pParams);
|
||||
}
|
||||
else if( Util.isContainStr(lName, [FS, NO_JS]) ||
|
||||
else if( Util.isContainStr(lName, FS) ||
|
||||
Util.strCmp( lName, ['/', 'json']) ){
|
||||
|
||||
lRet = main.commander.sendContent({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue