fix(web): avoid asset list failures during large uploads
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled

This commit is contained in:
Xiaoxia AI
2026-06-23 13:02:06 +08:00
parent feb410b9b6
commit 176914b3a4
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;
};