Skip to content

Commit 2dc7ebb

Browse files
committed
Fix api url
1 parent 9e8438f commit 2dc7ebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/common/api/reportService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const uploadReport = async (
5151
formData.append('description', description);
5252
}
5353

54-
const response = await axios.post<MedicalReport>(`${API_URL}/reports/upload`, formData, {
54+
const response = await axios.post<MedicalReport>(`${API_URL}/api/reports/upload`, formData, {
5555
headers: {
5656
'Content-Type': 'multipart/form-data',
5757
},

0 commit comments

Comments
 (0)