Skip to content

Commit

Permalink
Update index.ts for cors
Browse files Browse the repository at this point in the history
  • Loading branch information
Prajwalg19 authored Sep 1, 2024
1 parent c38b7f6 commit 5966b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const port = process.env.PORT || 4500


const corsOptions = {
origin: ["http://localhost:5173", "https://movie-finder-lyart.vercel.app"],
origin: ["http://localhost:5173", "https://movie-finder-lyart.vercel.app", "https://d29kwmevcoq2x9.cloudfront.net"],
credentials: true
}
app.use(express.json());
Expand Down

0 comments on commit 5966b69

Please sign in to comment.