Changes to connection system to support docker

This commit is contained in:
Karmaa
2025-03-12 17:44:53 -05:00
parent 1f9daa4e85
commit f7cdeb94f7
5 changed files with 16 additions and 9 deletions

View File

@@ -2,6 +2,7 @@ const http = require("http");
const socketIo = require("socket.io");
const mongoose = require("mongoose");
const crypto = require('crypto');
require('dotenv').config();
const server = http.createServer();
const io = socketIo(server, {