Attempt #5 to fix CORS issue and docker build.
This commit is contained in:
@@ -8,7 +8,8 @@ const io = socketIo(server, {
|
||||
origin: "*", // Allow all origins
|
||||
methods: ["*"], // Allow all methods
|
||||
allowedHeaders: ["*"], // Allow all headers
|
||||
}
|
||||
},
|
||||
allowEIO3: true
|
||||
});
|
||||
|
||||
io.on("connection", (socket) => {
|
||||
|
||||
Reference in New Issue
Block a user