| author | ymh <ymh.work@gmail.com> |
| Tue, 27 Jun 2017 11:38:26 +0200 | |
| changeset 97 | 69eaef18b01b |
| parent 87 | dbcee57de2c6 |
| child 130 | 78246db1cbac |
| permissions | -rw-r--r-- |
| 54 | 1 |
// define application configuration |
2 |
||
3 |
export default { |
|
|
87
dbcee57de2c6
Add first implementation of network monitor
ymh <ymh.work@gmail.com>
parents:
54
diff
changeset
|
4 |
apiRootUrl: process.env.REACT_APP_API_ROOT_URL || 'http://localhost:8000', |
|
dbcee57de2c6
Add first implementation of network monitor
ymh <ymh.work@gmail.com>
parents:
54
diff
changeset
|
5 |
basename: process.env.REACT_APP_BASENAME || '', |
|
dbcee57de2c6
Add first implementation of network monitor
ymh <ymh.work@gmail.com>
parents:
54
diff
changeset
|
6 |
networkStatusTimeout: parseInt(process.env.REACT_APP_NETWORK_STATUS_TIMEOUT, 10) || 2000, |
|
97
69eaef18b01b
Improve the network saga. Try to avoid unnecessary token refresh
ymh <ymh.work@gmail.com>
parents:
87
diff
changeset
|
7 |
networkStatusInterval: parseInt(process.env.REACT_APP_NETWORK_STATUS_INTERVAL, 10) || 20000, |
| 54 | 8 |
} |