This commit is contained in:
root committed 2025-09-26 10:06:59 +00:00
1 parent 3489ea55a2
commit 960832af6b
2 files changed
+8 -3

No files matched your search

+4 -2
View File
@@ -34,8 +34,10 @@ const axiosInstance = axios.create({
const redeployingStacks = {};
const server = http.createServer(app);
const io = new Server(server, { cors: { origin: "*" } });
const io = new Server(server, {
path: "/socket.io",
cors: { origin: "*" }
});
io.on("connection", (socket) => {
console.log(`🔌 [Socket] Client verbunden: ${socket.id}`);
});