mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
minor changes
This commit is contained in:
parent
16ae67ed3f
commit
86b1a57b70
2 changed files with 2 additions and 1 deletions
|
|
@ -72,6 +72,8 @@ var CloudCommander, $;
|
|||
console.log('downloading file ' + lLink +'...');
|
||||
|
||||
lLink = lLink + '?download';
|
||||
|
||||
lLink = Util.removeStr( lLink, CloudFunc.NOJS );
|
||||
var lId = Util.getIdBySrc(lLink);
|
||||
|
||||
if(!Util.getById(lId)){
|
||||
|
|
|
|||
|
|
@ -224,7 +224,6 @@ CloudServer.generateHeaders = function(pName, pGzip){
|
|||
lContentEncoding = '; charset=UTF-8';
|
||||
|
||||
var lQuery = CloudServer.Queries[pName];
|
||||
console.log(lQuery);
|
||||
if(lQuery){
|
||||
if( Util.strCmp(lQuery, 'download') )
|
||||
lType = 'application/octet-stream';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue