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 http://ift.tt/2sCx04N but in blade template I got http://ift.tt/2s3B8Ow
The same situation with \URL::to('.')
Maybe someone can explain to me why this happened?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire