module.exports = {
  API_URL: process.env.USE_LOCAL ? 'http://localhost:5000' : 'http://api.rumors.hacktabl.org',

  // If is dev but connet to production api, don't use appId = RUMORS_SITE.
  // Use RUMORS_SITE only on production, or when connecting to local dev server
  //
  APP_ID: process.env.USE_LOCAL || process.env.NODE_ENV === 'production' ? 'RUMORS_SITE' : 'DEV',
};

module.exports = {
  API_URL: process.env.USE_LOCAL ? 'http://localhost:5000' : 'https://api.rumors.hacktabl.org',

  // If is dev but connet to production api, don't use appId = RUMORS_SITE.
  // Use RUMORS_SITE only on production, or when connecting to local dev server
  //
  APP_ID: process.env.USE_LOCAL || process.env.NODE_ENV === 'production' ? 'RUMORS_SITE' : 'DEV',
};

Use https in API calls
Use https in API calls