Skip to content

Commit

Permalink
fix(buildurl): reset url
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed May 23, 2024
1 parent 4b42ee3 commit 1fee69a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/utils/buildURL.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ export const buildURL = (
const whereQuery =
Object.keys(where).length > 0 ? `&where=${JSON.stringify(where)}` : "";

// return `/api/${baseUrl}?${sorted}&page=${page}&max_results=20${whereQuery}`;
return `https://scanr-api.dataesr.ovh/${baseUrl}?${sorted}&page=${page}&max_results=20${whereQuery}`;
return `/api/${baseUrl}?${sorted}&page=${page}&max_results=20${whereQuery}`;
// return `https://scanr-api.dataesr.ovh/${baseUrl}?${sorted}&page=${page}&max_results=20${whereQuery}`;
};

0 comments on commit 1fee69a

Please sign in to comment.