Attempt #1 to fix CORS issue and docker build.

This commit is contained in:
Karmaa
2025-02-22 00:18:28 -06:00
parent e42c8c9788
commit 946f5daaa9
2 changed files with 1 additions and 5 deletions

View File

@@ -6,9 +6,7 @@ const server = http.createServer();
const io = socketIo(server, {
cors: {
origin: "*",
methods: ["GET", "POST"],
allowedHeaders: ["Content-Type", "Accept"],
credentials: false
methods: ["GET", "POST"]
}
});