change service url uploader

This commit is contained in:
hamid zarghami
2025-12-14 11:53:32 +03:30
parent f0c22f242c
commit adad5d4429
@@ -10,7 +10,7 @@ export const singleUpload = async (
const formData = new FormData();
formData.append("file", file);
const { data } = await axios.post<SingleUploadResponse>(
`/uploader/single-file`,
`/admin/single-file`,
formData
);
return data;
@@ -24,7 +24,7 @@ export const multipleUpload = async (
formData.append("files", file);
});
const { data } = await axios.post<MultipleUploadResponse>(
`/uploader/multi-file`,
`/admin/multi-file`,
formData
);
return data;