mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
minor changes
This commit is contained in:
parent
86b1a57b70
commit
41469a53cb
1 changed files with 2 additions and 1 deletions
|
|
@ -636,12 +636,13 @@ CloudServer._fillJSON = function(pStats, pFiles){
|
|||
lReaded_f(false, lFileData);
|
||||
}
|
||||
}else{
|
||||
DirPath += '.json';
|
||||
/* в обычном режиме(когда js включен
|
||||
* высылаем json-структуру файлов
|
||||
* с соответствующими заголовками
|
||||
*/
|
||||
lList = JSON.stringify(lJSON);
|
||||
lHeader = CloudServer.generateHeaders('fs.json', CloudServer.Gzip);
|
||||
lHeader = CloudServer.generateHeaders(DirPath, CloudServer.Gzip);
|
||||
|
||||
/* если браузер поддерживает gzip-сжатие - сжимаем данные*/
|
||||
if(CloudServer.Gzip){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue