Skip to content

Commit

Permalink
Update config.js with the new render backend URL
Browse files Browse the repository at this point in the history
* Update config.js with the new render backend URL which is connected with my elephantSQL
  • Loading branch information
Afsha10 committed Nov 7, 2023
1 parent e4f65f8 commit 9d35892
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions client/src/config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export const baseUrl = "https://afsha-full-stack-video-storage-app.onrender.com"; // prod

// export const baseUrl = "http://localhost:5000"; //dev
export const baseUrl =
process.env.NODE_ENV === "production"
? "https://video-storage.onrender.com"
: "http://localhost:5000";

0 comments on commit 9d35892

Please sign in to comment.