// This file will not end up inside the main application JavaScript bundle.
// Instead, it will simply be copied inside the build folder.
// The generated "index.html" will require it just before this main bundle.
// You can thus use it to define some environment variables that will
// be made available synchronously in all your JS modules under "src".

window.env = {
  NODE_ENV: '"production"',
  API_URL: '"/"',
  ANALYTICS_KEY: '"UA-110218257-1"',
}

// This file will not end up inside the main application JavaScript bundle.
// Instead, it will simply be copied inside the build folder.
// The generated "index.html" will require it just before this main bundle.
// You can thus use it to define some environment variables that will
// be made available synchronously in all your JS modules under "src".

window.env = {
  NODE_ENV: '"production"',
  API_URL: '/',
  ANALYTICS_KEY: '"UA-110218257-1"',
}

fix : API_URL is /