Load config from window in default config loader (#3238)

Support setting config through the window object. The config
should be set in window.__APP_CONFIG__ which should be an
object.
This commit is contained in:
Iain Billett
2020-11-05 15:05:06 +00:00
committed by GitHub
parent 65d5e24476
commit 4aca74e089
3 changed files with 32 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/core': patch
---
Extend default config loader to read config from the window object.
Config will be read from `window.__APP_CONFIG__` which should be an object.