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
c4f253848b
commit
7ffe783777
4 changed files with 9 additions and 8 deletions
|
|
@ -39,7 +39,7 @@
|
|||
* меняем в index.html обычные css на
|
||||
* минифицированый
|
||||
*/
|
||||
if(srv.Minify._allowed.css){
|
||||
if(srv.Minify._allowed.css){
|
||||
lReplace_s = '<link rel=stylesheet href="/css/reset.css">';
|
||||
|
||||
lData = Util.removeStr(lData, lReplace_s);
|
||||
|
|
@ -53,8 +53,9 @@
|
|||
lData = lData.replace('<title>Cloud Commander</title>',
|
||||
'<title>' + CloudFunc.setTitle() + '</title>');
|
||||
|
||||
console.log(lData);
|
||||
if(!srv.Config.appcache)
|
||||
lData = Util.removeStr(lData, ' manifest=/cloudcmd.appcache');
|
||||
lData = Util.removeStr(lData, ' manifest="/cloudcmd.appcache"');
|
||||
|
||||
if(!srv.Config.show_keys_panel){
|
||||
var lKeysPanel = '<div id=keyspanel';
|
||||
|
|
|
|||
|
|
@ -2,10 +2,10 @@
|
|||
"cache" : {"allowed" : false},
|
||||
"appcache" : false,
|
||||
"minification" : {
|
||||
"js" : false,
|
||||
"css" : false,
|
||||
"html" : false,
|
||||
"img" : false
|
||||
"js" : true,
|
||||
"css" : true,
|
||||
"html" : true,
|
||||
"img" : true
|
||||
},
|
||||
"oauth_client_id" : "891c251b925e4e967fa9",
|
||||
"oauth_client_secret" : "afe9bed1e810c5dc44c4c2a953fc6efb1e5b0545",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html manifest=/cloudcmd.appcache>
|
||||
<html manifest="/cloudcmd.appcache">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<!-- mobile first design -->
|
||||
|
|
|
|||
|
|
@ -299,7 +299,7 @@ CloudServer._controller = function(pReq, pRes)
|
|||
console.log('trying to read data from Minify.Cache');
|
||||
lFromCache_o.cache = false;
|
||||
lFileData = CloudServer.Minify.Cache[
|
||||
Path.basename(lName)];
|
||||
Path.basename(lName)];
|
||||
}
|
||||
var lReadFileFunc_f = CloudServer.getReadFileFunc(lName),
|
||||
/* если там что-то есть передаём данные в функцию readFile */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue