图像的Laravel文件管理器基本url错误



我需要帮助配置Laravel文件管理器生成的网站url。我正在上本地开发我的应用程序http://127.0.0.1:8000/.应用程序的名称是security。但每当我上传图片时,都会给它们一个url:http://security.test/storage/photos/1/logo-small.jpeg

如何将此不正确的url更改为:http://127.0.0.1:8000/storage/photos/1/logo-small.jpeg

.env文件中进行以下更改:

APP_URL=http://127.0.0.1:8000

更改.env文件后,请记住执行以下命令:

php artisan config:cache

最新更新