today I decided to move my website to HTTPS. Early my website work on HTTP.
My problem is in misunderstood how Laravel pass HTTP and https in helpers function route('name')
I change my website URL in config/app.php to https://www.domain.name and I think, this solution helps me. But I got a strange result.
In php artisan tinker if I pass route('ROUTE.NAME') I got right link https://www.domain.name/route/path but in blade template I got http://www.domain.name/route/path
The same situation with \URL::to('/')
Maybe someone can explain to me why this happened?
config/app.php? Could it be that another url is defined in the.envfile in the root andenv()is loading it?httporhttps?