Skip to content

Commit 42cfc34

Browse files
authored
Merge pull request #410 from PromptPlace/bug/#409
Fix: Update allowed HTTP methods for Socket.io
2 parents 735487d + a7b054a commit 42cfc34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/socket/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export const initSocket = (httpServer: HttpServer) => {
8282
"https://www.promptplace.kr",
8383
"https://promptplace-develop.vercel.app",
8484
],
85+
methods: ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"],
8586
credentials: true
8687
}
8788
});

0 commit comments

Comments
 (0)