I need to install Laravel 8 locally. The app is developed by other person and I my problem is that all links in admin part are invalid
Say in backend layout I have
<img class="width50" src="{!!admin_assets!!}/media/logo_new.png" />
This image is not rendered properly and in the source of the page I see
<img class="width50" src="http://127.0.0.1:8000/assets/adminside/media/logo_new.png" />
This image is located in ProjectName/assets/adminside/media/logo_new.png (not under public)
In routes/web.php I see :
define('admin_assets', url('assets/adminside'));
//define('admin_assets', url('../assets/adminside')); // if to uncomment this line it does not work anyway
Any hint how it can be fixed?
Thanks!