diff --git a/lib/api.ts b/lib/api.ts index c6c5aca..83d2ecc 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -64,7 +64,7 @@ export const fetchChannels = async () => { }; export const fetchImage = async (imageId:string) => { - const response = await fetch(`${apiUrl}${API_BASE_URL}/media/${imageId}`); + const response = await fetch(`${API_BASE_URL}/media/${imageId}`); return response.json(); };