From ffde3d3482fac3d118222633a17f7524ec89a28c Mon Sep 17 00:00:00 2001 From: Parth <20parthgupta03@gmail.com> Date: Sun, 19 May 2024 16:04:41 +0530 Subject: [PATCH] error resolution --- backend/socket/socket.js | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/socket/socket.js b/backend/socket/socket.js index a0714d6..5aef2da 100644 --- a/backend/socket/socket.js +++ b/backend/socket/socket.js @@ -1,6 +1,7 @@ import { Server } from "socket.io"; import http from "http"; import express from "express"; +import cors from "cors"; const app = express();