From d1999684ef950c6b786ba72084e579987297cd02 Mon Sep 17 00:00:00 2001 From: Amit Amrutiya Date: Sat, 11 Nov 2023 14:26:40 +0530 Subject: [PATCH] update cors with frontend url --- backend/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/index.js b/backend/index.js index 8158654..7a38826 100644 --- a/backend/index.js +++ b/backend/index.js @@ -21,7 +21,7 @@ app.use(express.json()); app.use(cookieParser()); app.use( cors({ - origin: proceess.env.REACT_FRONTED_URL, + origin: process.env.REACT_FRONTED_URL, credentials: true, }) );