Consolidate all consts to the top

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

View file

@ -6,13 +6,13 @@ global.protocolVersion = 19;
const app = require("express")(), const app = require("express")(),
fs = require("fs"), fs = require("fs"),
serverHandler = require("./server/serverHandler.js"),
config = require("./config.json"); config = require("./config.json");
const debugMode = true; const debugMode = true;
const serverHandler = require("./server/serverHandler.js");
app.use((req, res) => { app.use((req, res) => {
req.packet = new Buffer.alloc(0); req.packet = new Buffer.alloc(0);