Skip to content

Commit fa65d5a

Browse files
fix: decrease chunk_size for file drop to 1mb to avoid modal max 2mb limit
1 parent 5dcac50 commit fa65d5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solara/components/file_drop.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<script>
2020
module.exports = {
2121
mounted() {
22-
this.chunk_size = 2 * 1024 * 1024;
22+
this.chunk_size = 1 * 1024 * 1024;
2323
this.$refs.dropzone.addEventListener('dragover', event => {
2424
event.preventDefault();
2525
});

0 commit comments

Comments
 (0)