more url
This commit is contained in:
@@ -13,7 +13,7 @@ const server = http.createServer(app);
|
|||||||
|
|
||||||
const io = new Server(server, {
|
const io = new Server(server, {
|
||||||
cors: {
|
cors: {
|
||||||
origin: ['http://localhost:3000','http://localhost:3040','*',"*:*"],
|
origin: ['http://localhost:3000','http://localhost:3040','http://socket-dev.wrenchboard.com','*',"*:*"],
|
||||||
methods: ["GET", "POST"],
|
methods: ["GET", "POST"],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user