openstack-health/etc/config.json
Tim Buckley 27a2781e9f Add new config.json and associated ConfigService.
Configuration parameters that vary between build and production
(e.g. the API URL) can now be stored in the external `config.json`
file located alongside `index.html`. The ConfigService loads and
caches this configuration file at runtime, allowing other code
(such as the HealthService) to fetch parameters as needed.

A development-ready config file is also included in `etc/` with
default settings, and is copied into `build/` automatically when
`gulp dev` is run.

Change-Id: I42e9b73c55a1a5372401ed64e0e3f60cb57ea696
2015-10-09 13:43:04 -06:00

4 lines
41 B
JSON

{
"apiRoot": "http://localhost:5000"
}