const environment = {
  development: {
    isProduction: false
  },
  production: {
    isProduction: true
  }
}[process.env.NODE_ENV || 'development'];

module.exports = Object.assign({
  host: process.env.HOST || '127.0.0.1',
  port: Number(process.env.PORT) || 8080,
  apiHost: process.env.APIHOST || 'api.storj.io',
  apiPort: Number(process.env.APIPORT) || '',
  apiProtocol: (/develop(?:ment)?|test/.test(process.env.NODE_ENV)) ? 'http' : 'https',
  app: {
    title: 'Storj',
    description: 'Storj provides developers and IT teams with high performance, durable object storage.',
    head: {
      titleTemplate: 'Storj: %s',
      meta: [
        {name: 'description', content: 'Storj provides developers and IT teams with high performance, durable object storage.'},
        {charset: 'utf-8'},
        {property: 'og:site_name', content: 'Storj - The Most Secure Cloud Storage'},
        {property: 'og:locale', content: 'en_US'},
        {property: 'og:title', content: 'Storj - The Most Secure Cloud Storage'},
        {property: 'og:description', content: 'Storj provides developers and IT teams with high performance, durable object storage.'},
        {property: 'og:card', content: 'summary'},
        {property: 'og:site', content: '@rforan'},
        {property: 'og:creator', content: '@rforan'},
        {property: 'og:image', content: (process.env.HOST || 'localhost') + '/img/logo-white.svg'},
        {property: 'og:image:width', content: '150'},
        {property: 'og:image:height', content: '25'}
      ]
    }
  },

}, environment);

@@ -1,8 +1,604 @@
+/*%0A * POLYFILL %60Object.assign%60%0A */%0Aif (typeof Object.assign != 'function') %7B%0A  Object.assign = function(target) %7B%0A    'use strict';%0A    if (target == null) %7B%0A      throw new TypeError('Cannot convert undefined or null to object');%0A    %7D%0A%0A    target = Object(target);%0A    for (var index = 1; index %3C arguments.length; index++) %7B%0A      var source = arguments%5Bindex%5D;%0A      if (source != null) %7B%0A        for (var key in source) %7B%0A          if (Object.prototype.hasOwnProperty.call(source, key)) %7B%0A            target%5Bkey%5D = source%5Bkey%5D;%0A          %7D%0A        %7D%0A      %7D%0A    %7D%0A    return target;%0A  %7D;%0A%7D%0A%0A
 const en

fix `Object.assign` in src/config.js