From b54045a1220e4a64fc3d5b0e1c7987d51ae9d283 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Tue, 12 Mar 2024 03:35:15 -0400 Subject: [PATCH] more origin --- server.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/server.js b/server.js index 56ef36d..b18548b 100644 --- a/server.js +++ b/server.js @@ -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"], }, });