From 8a14e118e4f9b2fd47754b4ec92239caa3ee436b Mon Sep 17 00:00:00 2001 From: DongHyeonWon Date: Sat, 27 Jul 2024 23:46:08 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20cors=20=EC=84=A4=EC=A0=95=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/index.js b/backend/src/index.js index e71a884..2fc18b4 100644 --- a/backend/src/index.js +++ b/backend/src/index.js @@ -39,7 +39,7 @@ async function connectDB() { const io = new Server(server, { cors: { - origin: "*", + origin: "worry-is-bubble.com", methods: ["GET", "POST"], }, });