如何将存储图像的文件夹从 storage 更改为 public?
How can I change the folder where images are stored, from storage to public?
我正在使用 Voyager Laravel 管理面板,但它会将图像存储在存储文件夹中。我如何将其更改为 public 文件夹?
最简单的方法是 运行 php artisan storage:link
,它创建一个符号 link 到 "public/storage"。
我正在使用 Voyager Laravel 管理面板,但它会将图像存储在存储文件夹中。我如何将其更改为 public 文件夹?
最简单的方法是 运行 php artisan storage:link
,它创建一个符号 link 到 "public/storage"。