teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

タグを追加

2021/03/11 22:24

投稿

Qoo
Qoo

スコア1249

title CHANGED
File without changes
body CHANGED
@@ -6,7 +6,7 @@
6
6
  public function uploadPostPhoto( Request $request ) {
7
7
 
8
8
  $request->validate([
9
- 'file' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:409600',
9
+ 'file' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:4096000',
10
10
  ]);
11
11
 
12
12
  if ($request->hasFile('file')) {