mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
minor changes
This commit is contained in:
parent
0b1ad61343
commit
d5b0ff1206
2 changed files with 6 additions and 6 deletions
|
|
@ -119,6 +119,7 @@
|
|||
|
||||
if( lConfig.rest )
|
||||
lRet = Util.exec(Rest, {
|
||||
name : lPath,
|
||||
request : pReq,
|
||||
response : pRes
|
||||
});
|
||||
|
|
|
|||
|
|
@ -28,12 +28,11 @@
|
|||
*/
|
||||
exports.api = function(pParams){
|
||||
var lRet,
|
||||
lReq = pParams.request,
|
||||
lRes = pParams.response,
|
||||
lUrl = pParams.name,
|
||||
lMethod = lReq.method,
|
||||
lConfig = main.config,
|
||||
lAPIURL = lConfig.api_url;
|
||||
lReq = pParams.request,
|
||||
lRes = pParams.response,
|
||||
lUrl = pParams.name,
|
||||
lMethod = lReq.method,
|
||||
lAPIURL = main.config.api_url;
|
||||
|
||||
if( Util.isContainStr(lUrl, lAPIURL) ){
|
||||
lRet = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue