Skip to content

Commit

Permalink
fix(ci): typo on build url
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed May 22, 2024
1 parent 7800f3c commit ae094c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/utils/buildURL.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ export const buildURL = (
const whereQuery =
Object.keys(where).length > 0 ? `&where=${JSON.stringify(where)}` : "";

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

0 comments on commit ae094c7

Please sign in to comment.