mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
refactored
This commit is contained in:
parent
9c728bd749
commit
dd8481f2a4
4 changed files with 64 additions and 72 deletions
|
|
@ -15,6 +15,7 @@
|
|||
update = main.update,
|
||||
|
||||
Server = main.require(LIBDIR + 'server'),
|
||||
Minify = Server.Minify,
|
||||
srv = Server.CloudServer,
|
||||
Config = main.config;
|
||||
|
||||
|
|
@ -47,7 +48,7 @@
|
|||
* меняем в index.html обычные css на
|
||||
* минифицированый
|
||||
*/
|
||||
if(srv.Minify._allowed.css){
|
||||
if(Minify._allowed.css){
|
||||
var lPath = '/' + srv.Minify.MinFolder.replace(DIR, '');
|
||||
lReplace_s = '<link rel=stylesheet href="/css/reset.css">';
|
||||
lData = Util.removeStr(lData, lReplace_s)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue