Skip to content

Commit

Permalink
add diff cors url as well
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Amrutiya <[email protected]>
  • Loading branch information
amitamrutiya committed Jun 8, 2024
1 parent 9c354ff commit 03c2966
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 @@ -36,7 +36,7 @@ app.use(express.json())
app.use(cookieParser())
app.use(
cors({
origin: process.env.REACT_FRONTED_URL,
origin: [process.env.REACT_FRONTED_URL, process.env.VERCEL_FRONTED_URL],
credentials: true,
}),
)
Expand Down

0 comments on commit 03c2966

Please sign in to comment.