Skip to content

Commit a8afc68

Browse files
committed
update readme with setting config
1 parent 31ac674 commit a8afc68

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

readme.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,15 @@ Laravel File API is good way to handle files with Laravel Storage.
2424
php artisan vendor:publish --tag=fileapi_config
2525
```
2626

27-
1. fill the path in config/fileapi.php, it will generate routes for your files.
27+
### Config
28+
29+
1. fill in the storage path, it will generate routes for your files.
30+
31+
'path' => ['/images/event/'],
32+
33+
1. set default thumb sizes(by key and value)
34+
35+
'default_thumbs' => ['S' => '96x96', 'M' => '256x256', 'L' => '480x480'],
2836

2937
### Initialize File API
3038

0 commit comments

Comments
 (0)