mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
fixed bug with appcache config
This commit is contained in:
parent
4c99827e35
commit
cedeb621dd
2 changed files with 11 additions and 2 deletions
|
|
@ -677,8 +677,11 @@ CloudServer.indexReaded = function(pList){
|
|||
pIndex = pIndex.replace('<title>Cloud Commander</title>',
|
||||
'<title>' + CloudFunc.setTitle() + '</title>');
|
||||
|
||||
if(!CloudServer.Config.appcache)
|
||||
pIndex = pIndex.replace(' manifest="/cloudcmd.appcache"', '');
|
||||
if(!CloudServer.Config.appcache){
|
||||
if(process.platform === 'win32')
|
||||
pIndex = pIndex.replace(' manifest=/cloudcmd.appcache', '');
|
||||
else pIndex = pIndex.replace(' manifest="/cloudcmd.appcache"', '');
|
||||
}
|
||||
|
||||
var lHeader;
|
||||
/* если браузер поддерживает gzip-сжатие*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue