fixed url

This commit is contained in:
Dmitri 2026-03-25 17:46:41 +04:00
parent 96e771bbfb
commit f72d7433fa

View File

@ -81,8 +81,9 @@ const BATCH_DELAY_MS = 10; // Small delay to batch concurrent requests
const fetchPresignedUrlsBatch = async (
urls: string[],
): Promise<Record<string, string>> => {
// Use relative path since axios.defaults.baseURL is already set
const response = await axios.post<{ presignedUrls: Record<string, string> }>(
`${baseURLApi}/file/presign`,
'/file/presign',
{ urls },
);