There was an error while loading. Please reload this page.
2 parents 6bd00db + 1baeede commit 73e8346Copy full SHA for 73e8346
src/QiniuStorageServiceProvider.php
@@ -26,7 +26,7 @@ class QiniuStorageServiceProvider extends ServiceProvider
26
*/
27
public function boot()
28
{
29
- Storage::extend('qiniu', function ($app, $config) {
+ app('filesystem')->extend('qiniu', function ($app, $config) {
30
$adapter = new QiniuAdapter(
31
$config['access_key'], $config['secret_key'],
32
$config['bucket'], $config['domain']
0 commit comments