I have found a solution.
I had to change the root path in config / filesystem.php because it was viewing the file in the old specific path (storage path)
This is a modified version.
'disks' => [ 'local' => [ 'driver' => 'local', 'root' => public_path(), ], ]
source share