fileAttachmentsDisk using RichEditor and the attached file does not show up, in fact it is a 404

mind blown,

i set APP_URL=http://127.0.0.1:8000
i done the
php artisan storage:link

i restarted npm run dev

it created the folder, and deposited the file, the setting was public the disk was local.

now i feel i don't know anything

the file is sitting in
/site/storage/app/articleattachments/ which is where it is set to store

also the same situation with Tiny Editor, so , something is misconfigured, from the looks of it, and i tried all the known tricks
Solution
You need to use the public disk not local. If the files shouldn’t be available publicly then you will need to make a proxy url that can check authorization before returning the file.
Was this page helpful?