fix: reduce chunk size to 512KB to bypass strict Nginx limits
Build and Deploy / build-and-push (push) Successful in 43s

This commit is contained in:
AI Bot
2026-09-02 09:54:48 +05:30
parent 3a3ccceb96
commit 324b93d898
+1 -1
View File
@@ -112,7 +112,7 @@ export const api = {
// Storage // Storage
uploadAsset: async (fileBlob) => { uploadAsset: async (fileBlob) => {
const chunkSize = 10 * 1024 * 1024; // 10MB chunks const chunkSize = 512 * 1024; // 512KB chunks to bypass 1MB Nginx limits
const token = localStorage.getItem('auth_token'); const token = localStorage.getItem('auth_token');
const authHeaders = token ? { Authorization: `Bearer ${token}` } : {}; const authHeaders = token ? { Authorization: `Bearer ${token}` } : {};