change endpoint

This commit is contained in:
PhilReact 2025-05-25 18:50:08 +03:00
parent 388e44e4e7
commit 6774f62339

View File

@ -317,7 +317,7 @@ export const publishData = async ({
} }
const file = data; const file = data;
const urlCheck = `/arbitrary/check-tmp-space?totalSize=${file.size}`; const urlCheck = `/arbitrary/check/tmp?totalSize=${file.size}`;
const checkEndpoint = await createEndpoint(urlCheck); const checkEndpoint = await createEndpoint(urlCheck);
const checkRes = await fetch(checkEndpoint); const checkRes = await fetch(checkEndpoint);