Move them globals

This commit is contained in:
Holly Stubbs 2021-09-22 19:15:01 +01:00
parent 44017cfb6e
commit 3c54858047

View file

@ -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");