mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-29 02:30:28 +00:00
refactored
This commit is contained in:
parent
84f7910528
commit
9355dfb631
9 changed files with 97 additions and 80 deletions
|
|
@ -1,22 +1,21 @@
|
|||
"use strict";
|
||||
|
||||
var main = require('./lib/server/main.js'),
|
||||
var main = require('./lib/server/main'),
|
||||
|
||||
DIR = main.DIR,
|
||||
LIBDIR = main.LIBDIR,
|
||||
SRVDIR = main.SRVDIR,
|
||||
|
||||
srvfunc = main.srvfunc,
|
||||
|
||||
path = main.path,
|
||||
fs = main.path,
|
||||
CloudFunc = main.cloudfunc,
|
||||
Util = main.util,
|
||||
update = main.update,
|
||||
|
||||
Server = srvfunc.require(DIR + 'server'),
|
||||
Server = main.require(DIR + 'server'),
|
||||
srv = Server.CloudServer,
|
||||
Config = main.config,
|
||||
WIN32 = srvfunc.isWin32;
|
||||
WIN32 = main.WIN32;
|
||||
|
||||
readConfig();
|
||||
Server.start(Config, indexProcessing, appCacheProcessing);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue