Attempt #1 to fix CORS issue and docker build.
This commit is contained in:
1 parent
e42c8c9788
commit
946f5daaa9
2 files changed
+1
-5
No files matched your search
@@ -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"]
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user