mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
minor changes
This commit is contained in:
parent
65f5a5030b
commit
ded0980487
1 changed files with 4 additions and 5 deletions
|
|
@ -8,7 +8,7 @@ var LIBDIRSERVER = './lib/server/',
|
|||
|
||||
var Config = readConfig();
|
||||
|
||||
Config ? Server.start(Config) : Server.start();
|
||||
Server.start(Config);
|
||||
|
||||
if(update)
|
||||
update.get();
|
||||
|
|
@ -52,11 +52,10 @@ function readConfig(){
|
|||
console.log('log param setted up in config.json\n' +
|
||||
'from now all logs will be writed to log.txt');
|
||||
writeLogsToFile();
|
||||
}
|
||||
|
||||
return lConfig;
|
||||
}
|
||||
}
|
||||
else return false;
|
||||
|
||||
return lConfig;
|
||||
}
|
||||
|
||||
/* function sets stdout to file log.txt */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue