mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
feature(cloudcmd) sendResponse: p -> p, null, true
This commit is contained in:
parent
fed2eccdfb
commit
94de61a218
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@
|
||||||
if ( Util.isContainStr(lQuery, 'json') ){
|
if ( Util.isContainStr(lQuery, 'json') ){
|
||||||
p.data = Util.stringifyJSON(pJSON);
|
p.data = Util.stringifyJSON(pJSON);
|
||||||
p.name +='.json';
|
p.name +='.json';
|
||||||
main.sendResponse(p);
|
main.sendResponse(p, null, true);
|
||||||
}
|
}
|
||||||
else{ /* get back html*/
|
else{ /* get back html*/
|
||||||
p.name = Minify.allowed ? Minify.getName(INDEX) : INDEX;
|
p.name = Minify.allowed ? Minify.getName(INDEX) : INDEX;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue