Files
bee-dashboard/src/constants.ts
T
Vojtech Simetka 6f0655ded0 fix: bee api hooks isLoading value now defaults to true (#61)
* fix: bee api hooks isLoading value now defaults to true

* refactor: removed ping hook
2021-04-09 14:38:41 +02:00

5 lines
347 B
TypeScript

// These values can for now be constants because their change in the app reloads the page
export const apiHost = sessionStorage.getItem('api_host') || process.env.REACT_APP_BEE_HOST || 'http://localhost:1633'
export const debugApiHost =
sessionStorage.getItem('debug_api_host') || process.env.REACT_APP_BEE_DEBUG_HOST || 'http://localhost:1635'