Attempt #5 to fix CORS issue and docker build.
This commit is contained in:
1 parent
a9d510aba4
commit
226cdcb7a0
2 files changed
+14
-13
No files matched your search
@@ -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