Skip to content

Commit

Permalink
Update image max size to 1 giga
Browse files Browse the repository at this point in the history
  • Loading branch information
Saodus committed Dec 17, 2024
1 parent 11bd3a1 commit 572f7eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Requests/ProfileUpdateRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function rules(): array

Rule::unique(User::class)->ignore($this->user()->id),
],
'image' => ['nullable', 'image', 'mimes:jpeg,png,jpg', 'max:10240'],
'image' => ['nullable', 'image', 'mimes:jpeg,png,jpg', 'max:1048576'],
];
}
}

0 comments on commit 572f7eb

Please sign in to comment.