mirror of
https://github.com/xevidos/codiad.git
synced 2024-11-10 21:26:35 +01:00
Fixed issue where file a file that is smaller than the default blob size would not upload
This commit is contained in:
parent
c148d140b2
commit
a7fc315f46
@ -1797,6 +1797,7 @@
|
||||
if( total_size < blob_size ) {
|
||||
|
||||
blob_size = total_size;
|
||||
total_blobs = 1;
|
||||
} else {
|
||||
|
||||
total_blobs = ( Math.round( ( total_size / blob_size ) ) );
|
||||
|
Loading…
Reference in New Issue
Block a user