diff --git a/backend/index.js b/backend/index.js index 51bafaa..8158654 100644 --- a/backend/index.js +++ b/backend/index.js @@ -21,7 +21,7 @@ app.use(express.json()); app.use(cookieParser()); app.use( cors({ - origin: "http://localhost:3000", + origin: proceess.env.REACT_FRONTED_URL, credentials: true, }) );