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
34e0a93aaf
commit
294343a3cf
3 changed files with 6 additions and 6 deletions
|
|
@ -265,7 +265,7 @@
|
|||
main.commander.getDirContent(p.name, function(pError, pJSON){
|
||||
if(!pError){
|
||||
var lQuery = main.getQuery(p.request);
|
||||
if(lQuery === 'json'){
|
||||
if( Util.isContainStr(lQuery, 'json') ){
|
||||
p.data = Util.stringifyJSON(pJSON);
|
||||
p.name +='.json';
|
||||
main.sendResponse(p);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue