shift from localhost to 127 server in laravel

124 Views Asked by At

I design my page in localhost which works fine and I include all my paths like that

<link href="{{ asset('public/'.Config::get('config.template_assets').'assets/vendor/bootstrap/css/bootstrap.min.css')}}" rel="stylesheet"> 

but when I run my php artisan serve bootstrap is not including with 404 error ,which mean my server can't found the location of bootstrap, so how should I change my path so that it should be compatible for both localhost and 127 server. And if I remove public from path it works fine

0

There are 0 best solutions below