Move them globals
This commit is contained in:
parent
44017cfb6e
commit
3c54858047
1 changed files with 4 additions and 2 deletions
|
@ -1,14 +1,16 @@
|
||||||
console.clear();
|
console.clear();
|
||||||
|
|
||||||
|
// Globals
|
||||||
|
global.consoleHelper = require("./consoleHelper.js");
|
||||||
|
global.protocolVersion = 19;
|
||||||
|
|
||||||
const app = require("express")(),
|
const app = require("express")(),
|
||||||
fs = require("fs"),
|
fs = require("fs"),
|
||||||
config = require("./config.json");
|
config = require("./config.json");
|
||||||
|
|
||||||
const debugMode = true;
|
const debugMode = true;
|
||||||
|
|
||||||
global.protocolVersion = 19;
|
|
||||||
|
|
||||||
global.consoleHelper = require("./consoleHelper.js");
|
|
||||||
|
|
||||||
const serverHandler = require("./server/serverHandler.js");
|
const serverHandler = require("./server/serverHandler.js");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue