Skip to content

Commit ec4da2b

Browse files
committed
fix: README
1 parent e7ca1f7 commit ec4da2b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ export default {
212212
const name = 'custom'
213213
const driver = CustomDriver
214214

215-
Storage.build('custom', CustomDriver)
215+
Storage.build(name, driver)
216216

217-
console.log(Storage.drivers) // ['s3', 'local', 'custom']
217+
console.log(Storage.drivers) // ['s3', 'local', 'public', 'custom']
218218
```
219219

220220
> Now, if you have implemented your disk in config/filesystem, you can use him inside storage

0 commit comments

Comments
 (0)