Skip to content

Commit

Permalink
More logs
Browse files Browse the repository at this point in the history
  • Loading branch information
frimpongopoku committed Oct 8, 2024
1 parent 788e76b commit 69f68fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/api/urls.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ let apiHost = "http://localhost:8000/api";
if (IS_PROD) apiHost = "https://api.massenergize.org";
else if (IS_DEV) apiHost = "https://api.massenergize.dev";
else if (IS_CANARY) apiHost = "https://api-canary.massenergize.org";
else apiHost = "https://api.massenergize.dev";

if (window.location.hostname === LOCALHOST) apiHost = "http://localhost:8000/api";
else apiHost = "https://api.massenergize.dev";

export const API_HOST = apiHost;
console.log("SEE API HOST", API_HOST)
console.log("SEE API HOST, IS_LOCAL, IS_CANARY,IS_PROD, IS_DEV", API_HOST, IS_LOCAL, IS_CANARY, IS_PROD, IS_DEV);

let platform = "";
const URLS = {};
Expand Down Expand Up @@ -41,4 +41,4 @@ export const PLATFORM = platform;
export const CAMPAIGN_INFORMATION_URL = "campaigns.infoForUser";
export const CAMPAIGN_VIEW_URL = "campaigns.view";

export default URLS;
export default URLS;

0 comments on commit 69f68fa

Please sign in to comment.