fix: address phase 1 audit findings (xss, cors, dead code)

This commit is contained in:
Timo
2026-04-25 16:08:12 +02:00
parent 01bc95e176
commit 77ffda3e42
3 changed files with 29 additions and 40 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ const httpServer = createServer(app);
// Socket.IO setup with security constraints
const io = new Server(httpServer, {
cors: {
origin: "*",
origin: ["https://koalasync.shik3i.net"],
methods: ["GET", "POST"]
},
maxHttpBufferSize: 1024, // 1KB max per message