fix(frontend): disable TUS resume caching to fix QuotaExceededError and show full upload errors
Some checks failed
Automated Container Build / build-and-push (push) Failing after 16s

This commit is contained in:
Elijah 2026-05-23 18:02:03 -07:00
parent d9433a7a96
commit 382e7b8df0
2 changed files with 2 additions and 1 deletions

View file

@ -244,6 +244,7 @@ class ApiClient {
return new Promise((resolve, reject) => {
const upload = new tus.Upload(file, {
endpoint: `${API_BASE}/api/tus/`,
resume: false,
chunkSize: 5 * 1024 * 1024, // 5MB chunks bypass Next.js 10MB proxy limit
retryDelays: [0, 3000, 5000, 10000, 20000],
metadata: {