DEV Community

Krixnaas
Krixnaas

Posted on • Updated on

Laravel 8 Storage Link on Server

Put the below code on route/web.php

Route::get('/linkstorage', function () {
    Artisan::call('storage:link'); // this will do the command line job
});

Enter fullscreen mode Exit fullscreen mode

Go to https://yourdomainname.com/linkstorage once.
That's it.

You can put above code on comment once it is done.

Oldest comments (0)