Skip to content

Commit

Permalink
Use EC2 endpoint in production
Browse files Browse the repository at this point in the history
Make AWS production by using EC2 endpoint in production
  • Loading branch information
Afsha10 committed Feb 19, 2024
1 parent b57f86c commit fc713fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export const baseUrl = (() => {
switch (process.env.NODE_ENV) {
case "production":
return "https://video-storage.onrender.com";
case "aws":
// return "https://video-storage.onrender.com";
// case "aws":
return "http://ec2-18-201-166-46.eu-west-1.compute.amazonaws.com:5000";
default:
return "http://localhost:5000";
Expand Down

0 comments on commit fc713fa

Please sign in to comment.