classic-o / nova-media-library

Media Library for admin panel "Laravel Nova"
MIT License
157 stars 66 forks source link

Other folders in storage/app showing #32

Closed svenvanhees closed 4 years ago

svenvanhees commented 4 years ago

Describe the bug A clear and concise description of what the bug is. While viewing the medialibrary in Nova and having specified a storage folder in the config file, it is showing other folders I have in my storage/app folder. See the screenshots.

Screenshots If applicable, add screenshots to help explain your problem. image

image

image

Additional context Add any other context about the problem here.

classic-o commented 4 years ago

Hi. When you use local disk - folder param does not work Change disk to public and set folder param.

svenvanhees commented 4 years ago

That does seem to be the issue, but that would also mean the uploaded files are accessibel publicly. I also tried to add a custom disk, but it has the same issue,

Any way we can have folders, and a custom disk?

classic-o commented 4 years ago

You can move your hidden files to storage folder If you use local disk - you will see all files in storage/app