Use relative path when retrieving config.json

Using absolute prevents the web application from being hosted inside
a subdirectory.

Change-Id: Ie236372dd60f16a1f53c0f5d14b4a7675d7d1973
This commit is contained in:
David Moreau Simard 2019-01-07 21:15:20 -05:00
parent faf985d81c
commit 06f906f570
No known key found for this signature in database
GPG Key ID: CBEB466764A9E621
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ export function setConfig(config) {
export function getConfig() {
return dispatch => {
return axios.get("/config.json").then(response => {
return axios.get("config.json").then(response => {
const config = response.data;
dispatch(setConfig(config));
return response;