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
7642d4f8dd
commit
ecc7da55ba
1 changed files with 2 additions and 2 deletions
|
|
@ -325,7 +325,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
function getQuery(pReq){
|
||||
function getQuery(pReq){
|
||||
var lQuery, lParsedUrl;
|
||||
|
||||
if(pReq){
|
||||
|
|
@ -379,7 +379,7 @@
|
|||
lPath = getPath(pReq);
|
||||
|
||||
lNoJS = Util.isContainStr(lPath, CloudFunc.NoJS)
|
||||
&& lPath === '/' && getQuery() !== 'json';
|
||||
|| lPath === '/' || getQuery() !== 'json';
|
||||
}
|
||||
|
||||
return lNoJS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue