diff --git a/src/websocket/index.ts b/src/websocket/index.ts index 82c7a8f..9c0638d 100644 --- a/src/websocket/index.ts +++ b/src/websocket/index.ts @@ -20,6 +20,7 @@ export default abstract class SocketServer { public static init(httpServer: httpServerType) { this.io = new Server(httpServer, { + path: "/api/socket.io", cors: { origin: "*", methods: ["GET", "POST"],