mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
added update module
This commit is contained in:
parent
4cad10f750
commit
f1bd5aff50
2 changed files with 33 additions and 2 deletions
|
|
@ -1,12 +1,17 @@
|
|||
"use strict";
|
||||
var Server = cloudRequire('./server'),
|
||||
|
||||
var LIBDIRSERVER = './lib/server/',
|
||||
Server = cloudRequire('./server'),
|
||||
path = cloudRequire('path'),
|
||||
fs = cloudRequire('fs');
|
||||
fs = cloudRequire('fs'),
|
||||
update = cloudRequire(LIBDIRSERVER + 'update');
|
||||
|
||||
var Config = readConfig();
|
||||
|
||||
Config ? Server.start(Config) : Server.start();
|
||||
|
||||
update.get();
|
||||
|
||||
|
||||
function readConfig(){
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue