Skip to content

Commit

Permalink
Added prod url in cors urls
Browse files Browse the repository at this point in the history
  • Loading branch information
anudeep-mp authored Sep 21, 2023
1 parent d4e8f45 commit c2a2f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ app.use(express.json())

app.use(
cors({
origin: ["http://localhost:3000", "https://cubekart.onrender.com"],
origin: ["http://localhost:3000", "https://cubekart.onrender.com", "https://cubekart.anudeep.info"],
credentials: true,
})
);
Expand Down

0 comments on commit c2a2f9d

Please sign in to comment.