forked from Hri7566/mpp-server-dev2
Update index.js
This commit is contained in:
parent
34eddd1259
commit
7303d7d7c0
4
index.js
4
index.js
|
@ -15,8 +15,8 @@ global.isObj = function(a){
|
||||||
return typeof a === "object" && !Array.isArray(a) && a !== null;
|
return typeof a === "object" && !Array.isArray(a) && a !== null;
|
||||||
}
|
}
|
||||||
|
|
||||||
let Server = require("./src/Server.js");
|
let Server = require("./src/Server");
|
||||||
let config = require('./src/db/config.json');
|
let config = require('./src/db/config');
|
||||||
global.SERVER = new Server(config);
|
global.SERVER = new Server(config);
|
||||||
let console = process.platform == 'win32' ? new AsyncConsole("", input => {
|
let console = process.platform == 'win32' ? new AsyncConsole("", input => {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue