Browse Source

🔧 improve config.js

main
tchawou-daniel 5 years ago
parent
commit
185a9ff383
  1. 5
      src/common/config.js

5
src/common/config.js

@ -1,5 +1,6 @@
export const API_URL = export const API_URL =
process.env.NODE_ENV === "production" process.env.NODE_ENV === "production"
? "https://tobedefined.io/api"
: "https://mysterious-anchorage-24698.herokuapp.com/";
? "https://mysterious-anchorage-24698.herokuapp.com/api"
: "http://localhost:2020/api";
export default API_URL; export default API_URL;
Loading…
Cancel
Save