回答編集履歴
1
`disk('s3')`を付けました。
answer
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
items.blade.php
|
4
4
|
|
5
5
|
```php
|
6
|
-
<img src="{{ Storage::url('item-images/' . $item->image_file_name) }}" ... >
|
6
|
+
<img src="{{ Storage::disk('s3')->url('item-images/' . $item->image_file_name) }}" ... >
|
7
7
|
```
|
8
8
|
|
9
9
|
参考: [ファイルのURL](https://readouble.com/laravel/8.x/ja/filesystem.html#file-urls)
|