0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

laravel jetstreamでartisanコマンドが使えないときの対処法

0
Posted at

初っ端からプロフィール写真を表示できなかったり
初期設定で手こずる場面が多いと思いますが今回は
jetstreamdでartisanコマンドが使えなくなったときの対処法です。

対処法

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

filesystems.phpに記載されている'url'に関わるコードをコメントアウトするだけです。
bladeと違って初期設定に地味に時間を食ったので時々メモとして残そうと思います。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?