fix(web): avoid asset list failures during large uploads

This commit is contained in:
Xiaoxia AI
2026-06-23 13:02:06 +08:00
parent f65a6a4145
commit a466a13ec8
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -79,6 +79,7 @@ export const uploadAsset = async (
): Promise<{ storage_key: string; ingest_job_id: string; url: string }> => {
const response = await apiClient.post('/upload', formData, {
headers: { 'Content-Type': 'multipart/form-data' },
timeout: 30 * 60 * 1000,
});
return response.data;
};