Skip to content

Commit

Permalink
fix(ui): remove base url
Browse files Browse the repository at this point in the history
  • Loading branch information
felipetodev committed Sep 13, 2024
1 parent 0f441f1 commit b2e8629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/api/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const GET: APIRoute = async (request) => {
}

try {
const resp = await fetch(`${API_HOST}/track/${trackId}`, {
const resp = await fetch(`/track/${trackId}`, {
headers: {
'Content-Type': 'application/json',
},
Expand Down

0 comments on commit b2e8629

Please sign in to comment.