Skip to content

Commit

Permalink
fix: #1044 (upload-limit);
Browse files Browse the repository at this point in the history
  • Loading branch information
migbash committed Feb 20, 2023
1 parent 89aa36a commit 5735b36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/page/profile/Widget-AccountSettings.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ COMPONENT JS (w/ TS)
);
}
// [ℹ] validation [1]
if (files[0].size >= 1000000) {
alert("🔴 Uploaded picture is too large. Limit is 1MB.");
if (files[0].size >= 10000000) {
alert("🔴 Uploaded picture is too large. Limit is 10MB.");
files = undefined;
return;
}
Expand Down

0 comments on commit 5735b36

Please sign in to comment.