diff --git a/src/app.ts b/src/app.ts index 9176ee5..98819de 100644 --- a/src/app.ts +++ b/src/app.ts @@ -17,7 +17,7 @@ const server = http.createServer(app); const { Server } = require("socket.io"); const io = new Server(server, { cors: { - origin: "http://localhost:4200", + origin: "*", methods: ["GET", "POST"] } });