Update index.js

This commit is contained in:
wolfy01 2020-04-07 02:41:10 -04:00 committed by GitHub
parent 4f8ab58266
commit 9cb5b1b425
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; 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 {