From f058ffef19a9fbbb2ffefcf4809120f2ab1aa276 Mon Sep 17 00:00:00 2001 From: "courtmanr@gmail.com" Date: Thu, 24 Apr 2025 22:58:47 +0100 Subject: [PATCH] fix(server): Define http server before initializing Socket.IO --- server/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/index.js b/server/index.js index 832ccb136..65a466ffd 100644 --- a/server/index.js +++ b/server/index.js @@ -440,6 +440,7 @@ console.log(`INFO: Using Discovery Update Interval: ${DISCOVERY_UPDATE_INTERVAL} // Create Express app const app = express(); +const server = http.createServer(app); // Create HTTP server instance // Middleware app.use(cors());