Code to save image
$request->file('cover_image')->storeAs('/storage/cover_images', $fileNameToStore);
and folder tree(lsapp everything in it except the public directory and in public_html that same public)

The problem is that when you change the folder structure such that files stored in lsapp/storage/app/storage/cover_image
And it is necessary in public_html/storage/cover_image
When I try to change folder save
$request->file('cover_image')->storeAs('../../storage/cover_images', $fileNameToStore);
issues
Path is outside of the defined root, path: [../../storage/cover_images/123_1525452472.jpg]