27a2781e9f
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
4 lines
41 B
JSON
4 lines
41 B
JSON
{
|
|
"apiRoot": "http://localhost:5000"
|
|
}
|