You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ // Upload
...
'disk' => 'uploads', // if you store files in the /public folder, please omit this; if you store them in /storage or S3, please specify it;
...
],
So I deleted the "disk" key and upload worked fine and saved the file as exptected in storage/app/public.
Then I returned to the edit page and the value was shown like this:
company/logo/7bf6d6b07ad00115cff02dd1b552fb6b.png
It was clickable, but the link was the same as the value shown, it wasn't prefixed with "storage/", so it didn't work.
After going back to the field definition and adding 'disk' => 'public' everything started to work. So maybe the docs should state that "uploads" should be replaced with "public", not ommited?
The text was updated successfully, but these errors were encountered:
Hi,
this is rather minor, but the docs for the upload field state:
So I deleted the "disk" key and upload worked fine and saved the file as exptected in storage/app/public.
Then I returned to the edit page and the value was shown like this:
company/logo/7bf6d6b07ad00115cff02dd1b552fb6b.png
It was clickable, but the link was the same as the value shown, it wasn't prefixed with "storage/", so it didn't work.
After going back to the field definition and adding
'disk' => 'public'
everything started to work. So maybe the docs should state that "uploads" should be replaced with "public", not ommited?The text was updated successfully, but these errors were encountered: