Skip to content

Commit

Permalink
fix: update call for offline download
Browse files Browse the repository at this point in the history
closes #93
  • Loading branch information
juancarlosfarah committed Jun 14, 2019
1 parent 31d4e59 commit 2859b14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/endpoints.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { REACT_APP_GRAASP_HOST } = process.env;
const { REACT_APP_GRAASP_API_HOST, REACT_APP_GRAASP_HOST } = process.env;

export const generateGetSpaceEndpoint = id =>
`${REACT_APP_GRAASP_HOST}/spaces/${id}/download-offline`;
`${REACT_APP_GRAASP_API_HOST}/spaces/${id}/offline-structure`;

export const GET_SPACES_NEARBY_ENDPOINT = `${REACT_APP_GRAASP_HOST}/spaces/nearby`;

0 comments on commit 2859b14

Please sign in to comment.