We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71c1573 commit 8fb998aCopy full SHA for 8fb998a
lib/uploads_web/live/upload_live.ex
@@ -19,7 +19,7 @@ defmodule UploadsWeb.UploadLive do
19
|> assign(:done, false)
20
|> assign(:form, to_form(%{}))
21
|> assign(:uploaded_files, list_uploads!())
22
- |> allow_upload(:archive, accept: @accept, max_entries: 4, max_file_size: @max_file_size)}
+ |> allow_upload(:archive, accept: @accept, max_entries: 4, max_file_size: @max_file_size, chunk_size: 2_097_152)}
23
end
24
25
defp list_uploads! do
0 commit comments