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