Update index.js

This commit is contained in:
wolfy01 2020-04-07 02:41:10 -04:00 committed by GitHub
parent 34eddd1259
commit 7303d7d7c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ global.isObj = function(a){
return typeof a === "object" && !Array.isArray(a) && a !== null;
}
let Server = require("./src/Server.js");
let config = require('./src/db/config.json');
let Server = require("./src/Server");
let config = require('./src/db/config');
global.SERVER = new Server(config);
let console = process.platform == 'win32' ? new AsyncConsole("", input => {
try {