Skip to content

Commit

Permalink
feat: review upload max sizes 📏
Browse files Browse the repository at this point in the history
  • Loading branch information
inikoo committed Feb 9, 2024
1 parent 65b04ad commit edf3f93
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/Actions/Mail/Mailshot/UploadImagesToMailshot.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function rules(): array
{
return [
'images' => ['required'],
'images.*' => ["mimes:jpg,png,jpeg", "max:102400"]
'images.*' => ["mimes:jpg,png,jpeg,gif","max:50000"]
];
}

Expand Down
2 changes: 1 addition & 1 deletion app/Actions/Portfolio/Banner/UploadImagesToBanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function rules(): array
{
return [
'images' => ['required'],
'images.*' => ["mimes:jpg,png,jpeg,gif", "max:102400"]
'images.*' => ["mimes:jpg,png,jpeg,gif","max:50000"]
];
}

Expand Down
2 changes: 1 addition & 1 deletion app/Actions/Portfolio/Gallery/UpdateUploadedImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function rules(): array
return [
'name' => ['sometimes', 'string'],
'images' => ['sometimes'],
'images.*' => ["mimes:jpg,png,jpeg|max:102400"]
'images.*' => ["mimes:jpg,png,jpeg,gif","max:50000"]
];
}

Expand Down
2 changes: 1 addition & 1 deletion app/Actions/Portfolio/Gallery/UploadImagesToGallery.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function rules(): array
{
return [
'images' => ['required'],
'images.*' => ["mimes:jpg,png,jpeg|max:102400"]
'images.*' => ["mimes:jpg,png,jpeg,gif","max:50000"]
];
}

Expand Down
2 changes: 1 addition & 1 deletion app/Actions/Web/Webpage/UploadImagesToWebpage.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function rules(): array
{
return [
'images' => ['required'],
'images.*' => ["mimes:jpg,png,jpeg|max:102400"]
'images.*' => ["mimes:jpg,png,jpeg,gif","max:50000"]
];
}

Expand Down
2 changes: 1 addition & 1 deletion app/Actions/Web/Website/UploadImagesToWebsite.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function rules(): array
{
return [
'images' => ['required'],
'images.*' => ["mimes:jpg,png,jpeg|max:102400"]
'images.*' => ["mimes:jpg,png,jpeg,gif","max:50000"]
];
}

Expand Down

0 comments on commit edf3f93

Please sign in to comment.