more origin

This commit is contained in:
CHIEFSOFT\ameye
2024-03-12 03:35:15 -04:00
parent e1dc4a268d
commit b54045a122
+6 -1
View File
@@ -13,7 +13,12 @@ const server = http.createServer(app);
const io = new Server(server, {
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"],
},
});