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
This commit is contained in:
Vojtech Simetka
2021-04-09 14:38:41 +02:00
committed by GitHub
parent bc01d60728
commit 6f0655ded0
3 changed files with 19 additions and 60 deletions
+4
View File
@@ -0,0 +1,4 @@
// 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'