diff --git a/server/src/index.ts b/server/src/index.ts index 873564f..c3391da 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -10,7 +10,7 @@ import path from "path"; const app = express(); const server = createServer(app); -app.use(cors()); +app.use(cors({origin: "*"})); const io = new Server(server, { cors: {