Skip to content

Commit 358a92a

Browse files
author
Erik Arenhill
committed
fix: use unversioned endpoint for backwards compat
1 parent 9065fd5 commit 358a92a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/actions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ actions.loadAppStore.subscribe(async () => {
121121
const corsOptions = { ...fetchOptions, mode: 'cors', credentials: undefined }
122122
debug('Using fetch/cors options:', corsOptions)
123123

124-
const response = await fetch(`${url}/v1/apps?dhis_version=${version}`, corsOptions)
124+
const response = await fetch(`${url}/apps?dhis_version=${version}`, corsOptions)
125125
const apps = await response.json();
126126
appStoreStore.setState(Object.assign(appStoreStore.getState() || {}, { apps }));
127127
});

0 commit comments

Comments
 (0)