diff --git a/Backend/src/index.ts b/Backend/src/index.ts index 73b413f..46f9c56 100644 --- a/Backend/src/index.ts +++ b/Backend/src/index.ts @@ -5,11 +5,11 @@ import cookieparser from "cookie-parser" const app = express(); -app.use(cors({ credentials: true, origin: true })); +app.use(cors()); app.use(express.json()) app.use(cookieparser()) app.use("/api/v1",rootRouter) app.listen(process.env.PORT || 8080, function() { console.log(`Listening on Port: ${process.env.PORT || 8080}`); -}); \ No newline at end of file +});