diff --git a/src/api/urls.js b/src/api/urls.js index 3474a782..36d3dd80 100644 --- a/src/api/urls.js +++ b/src/api/urls.js @@ -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 = {}; @@ -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; \ No newline at end of file +export default URLS;