Skip to content

Commit

Permalink
Modified health slice to account for change to basepath for assets.
Browse files Browse the repository at this point in the history
  • Loading branch information
anilnatha committed Jul 30, 2024
1 parent 996f45c commit 821b77c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/state/slices/healthSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ export const getHealthData = createAsyncThunk(

// todo: fill in URL in the future when an API is available to fetch
// health JSON
const url = "/data/health.json"
const basePath = Config['general']['base_path'];
const url = basePath + "/data/health.json"

const config:AxiosRequestConfig = {
headers: {
Expand Down

0 comments on commit 821b77c

Please sign in to comment.