Skip to content

Commit

Permalink
fix: api 호출 / 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
cjy3458 committed Jan 27, 2025
1 parent 0e1e98d commit 697bcf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apis/gallery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ export async function getGalleries() {
}

export async function getGalleryDetail(id: string) {
const data = await axios.get<ResponseData<IGalleryDetail>>(`${url}api/gallery/${id}`).then((res) => res.data.data);
const data = await axios.get<ResponseData<IGalleryDetail>>(`${url}/api/gallery/${id}`).then((res) => res.data.data);
return data;
}

0 comments on commit 697bcf0

Please sign in to comment.