Skip to content

Commit

Permalink
feat(api): remove base url
Browse files Browse the repository at this point in the history
  • Loading branch information
Luna committed Feb 18, 2024
1 parent bc2cd72 commit 816c3ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const api = axios.create();
export const endpoints = {
webContent: {
getSiteUrls: (url: string) =>
api.get(`http://localhost:3000/api/web-content/site-urls?url=${url}`),
api.get(`/api/web-content/site-urls?url=${url}`),
},
external: {
getSiteContent: (url: string) => api.get(url),
Expand Down

0 comments on commit 816c3ea

Please sign in to comment.