bogdy's avatar
Level 10

Livewire upload file dont move the file from storage to public storage

In the filesystems.php I set a disk:

'bilder' => [
            'driver' => 'local',
            'root' => storage_path('app/bilder'),
            'url' => env('APP_URL').'/bilder',
            'visibility' => 'public',
        ],

The upload works and the file is in storage/app/bilder I create the symbolic link with php artisan storage:link but in public/storage i dont find the file

does anyone have a tip thanks in advance

0 likes
1 reply
jlrdw's avatar
jlrdw
Best Answer
Level 75

It uploads to storage, not public. That's what the symlink is for. Use asset helper to display image.

Please or to participate in this conversation.