Код: Выделить всё
laravel new testProject
cd testProject
composer require laravel/jetstream
php artisan jetstream:install inertia
npm install
npm run dev
php artisan serve
Код: Выделить всё
'features' => [
// Features::termsAndPrivacyPolicy(),
Features::profilePhotos(),
// Features::api(),
// Features::teams(['invitations' => true]),
Features::accountDeletion(),
],
Код: Выделить всё
php artisan storage:link
В браузере я вижу сообщение об ошибке
Код: Выделить всё
Failed to load resource: the server responded with a status of 404 (Not Found)
хранилища/profile-photos/P2Fr1yHE0UenDAo5REUWEEWFcwq7esjLu0loP9Xa.png
В моем проекте изображение сохранено в
storage/app/public/profile-photos/P2Fr1yHE0UenDAo5REUWEEWFcwq7esjLu0loP9Xa.png
и связана с общедоступной папкой
public/storage/profile-photos/ P2Fr1yHE0UenDAo5REUWEEWFcwq7esjLu0loP9Xa.png
Я не понимаю, почему моя фотография не загружается из нужного каталога.
Подробнее здесь: https://stackoverflow.com/questions/778 ... file-photo