Skip to content

Commit

Permalink
update cors with frontend url
Browse files Browse the repository at this point in the history
  • Loading branch information
amitamrutiya committed Nov 11, 2023
1 parent 2c7b520 commit e94759f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
);
Expand Down

0 comments on commit e94759f

Please sign in to comment.