laravel图片网址未重定向到首页

时间:2019-01-26 22:05:44

标签: php laravel eloquent

大家好,我的laravel投影任何图像的网址,例如 http://kemakon-app.com/storage/images/Screenshot_10.png被重定向到首页存储链接,但无论原因为何仍会收到错误

     'local' => [
        'driver' => 'local',
        'root' => storage_path('app'),
                    'visibility'=> 'public',

    ],

    'public' => [
        'driver' => 'local',
        'root' => storage_path('app/public'),
        'url' => env('APP_URL').'/storage',
        'visibility' => 'public',
    ],

0 个答案:

没有答案