mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
all
This commit is contained in:
parent
9b4c2b97be
commit
1ce22e214a
1 changed files with 6 additions and 6 deletions
12
server.js
12
server.js
|
|
@ -183,14 +183,14 @@ CloudServer.init=(function(){
|
|||
console.log('current dir: ' + process.cwd());
|
||||
console.log('server dir: ' + lServerDir);
|
||||
process.chdir(lServerDir);
|
||||
|
||||
console.log(process.cwd());
|
||||
var lConfig={
|
||||
"cache" : {"allowed" : true},
|
||||
"minification" : {
|
||||
"js" : true,
|
||||
"css" : true,
|
||||
"html" : true,
|
||||
"img" : true
|
||||
"js" : false,
|
||||
"css" : false,
|
||||
"html" : false,
|
||||
"img" : false
|
||||
}
|
||||
};
|
||||
try{
|
||||
|
|
@ -681,4 +681,4 @@ CloudServer.sendResponse = function(pHead, pData,pName){
|
|||
}
|
||||
};
|
||||
|
||||
CloudServer.start();
|
||||
CloudServer.start();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue