client/src/config.js
author ymh <ymh.work@gmail.com>
Thu, 20 Jul 2017 11:23:08 +0200
changeset 124 c77570164050
parent 97 69eaef18b01b
child 130 78246db1cbac
permissions -rw-r--r--
implement soft delete and indicator that session and notes have been modiied

// 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,
}