const productionConfig = {
  apiBase: 'http://api.storypalette.net/v1/',
  socketBase: 'http://api.storypalette.net/',
  environment: 'production',
  port: 8882,
};

const developmentConfig = {
  apiBase: 'http://localhost:8880/v1/',
  socketBase: 'http://localhost:8880/',
  environment: 'local',
  port: 8882,
}

const config = (process.env.NODE_ENV === 'development') ? developmentConfig : productionConfig;

module.exports = config;

const productionConfig = {
  //apiBase: 'http://api.storypalette.net/v1/',
  //socketBase: 'http://api.storypalette.net/',
  apiBase: 'http://storypalette-server.herokuapp.com/v1/',
  socketBase: 'http://storypalette-server.herokuapp.com/',
  environment: 'production',
  port: 8882,
};

const developmentConfig = {
  apiBase: 'http://localhost:8880/v1/',
  socketBase: 'http://localhost:8880/',
  environment: 'local',
  port: 8882,
}

const config = (process.env.NODE_ENV === 'development') ? developmentConfig : productionConfig;

module.exports = config;

Use heroku api base for now
Use heroku api base for now
