client/src/config.js
author Alexandre Segura <mex.zktk@gmail.com>
Thu, 29 Jun 2017 12:06:48 +0200
changeset 106 fffefefed507
parent 97 69eaef18b01b
child 130 78246db1cbac
permissions -rw-r--r--
Fix bug when there is no group.

// define application configuration

export default {
  apiRootUrl: process.env.REACT_APP_API_ROOT_URL || 'http://localhost:8000',
  basename: process.env.REACT_APP_BASENAME || '',
  networkStatusTimeout: parseInt(process.env.REACT_APP_NETWORK_STATUS_TIMEOUT, 10) || 2000,
  networkStatusInterval: parseInt(process.env.REACT_APP_NETWORK_STATUS_INTERVAL, 10) || 20000,
}