I want to change http into https in laravel 5. I have changed in .env file and also add this code
if(config('app.env') === 'production') {
\URL::forceScheme('https');
}
into my AppServiceProvider and RouteServiceProvider
@Sinnbeck basically issue is that, I attached ssl with my hosting and it is successfully attached but when I access my website into the browser my website was run but css and js are not load into the browser.
@SyedGhazanfar On the server, can you try php artisan tinker, and then asset('test.jpg'). That should give you the url with https, if you have set the env correctly on the server.