The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: upload data during creation only for files above the chunk size (#28388)
Fabrizio82a55e913185
diff --git a/apps/studio/localStores/storageExplorer/StorageExplorerStore.tsx b/apps/studio/localStores/storageExplorer/StorageExplorerStore.tsxindex 58ed837481c..02ded63ebf8 100644--- a/apps/studio/localStores/storageExplorer/StorageExplorerStore.tsx+++ b/apps/studio/localStores/storageExplorer/StorageExplorerStore.tsx@@ -712,6 +712,7 @@ class StorageExplorerStore {// Max chunk size is 500MBchunkSize = Math.min(chunkSize, 500 * 1024 * 1024)+ const uploadDataDuringCreation = file.size <= chunkSizeconst upload = new tus.Upload(file, {endpoint: this.resumableUploadUrl,@@ -720,7 +721,7 @@ class StorageExplorerStore {authorization: `Bearer ${this.serviceKey}`,'x-source': 'supabase-dashboard',},- uploadDataDuringCreation: true,+ uploadDataDuringCreation: uploadDataDuringCreation,removeFingerprintOnSuccess: true,metadata: {bucketName: this.selectedBucket.name,