// Variables to export to the static app

const appConfig = {
  // sidebar polling frequency in ms
  buildsRefresh: 55000,

  appRoot: process.env.BLAZAR_APP_URI || '',
  // If we have an env variable, gulp is proxying it through /api.
  // Otherwise we'll get it from localStorage later.
  apiRoot: process.env.BLAZAR_API_URL || '',

  staticRoot: process.env.BLAZAR_STATIC_ROOT || ''
}

module.exports = appConfig;

// Variables to export to the static app

const appConfig = {
  // sidebar polling frequency in ms
  buildsRefresh: 5000,

  appRoot: process.env.BLAZAR_APP_URI || '',
  // If we have an env variable, gulp is proxying it through /api.
  // Otherwise we'll get it from localStorage later.
  apiRoot: process.env.BLAZAR_API_URL || '',

  staticRoot: process.env.BLAZAR_STATIC_ROOT || ''
}

module.exports = appConfig;

fix build refresh time