Hi everybody. Yesterday I installed an SSL certificate on my hosting. The project is Laravel 5. Home page opens normally the link https://my_site But the rest of the pages are opened without css styles because somehow styles on those pages are registered
<link href = "HTTP: //my_site/css/bootstrap.min.css" rel = "stylesheet">while the main page and other pages extends template app.blade (<link href="{{ asset('/css/bootstrap.min.css') }}" rel="stylesheet">) I.e. everywhere should have the same link to connect styles. I thought the problem is in the cache. I cleared folders storage/framework/sessions and storage/framework/views, but all remained unchanged. Tell me please what could be the problem?
I resolved this problem. I added URL::forceSchema('https'); in the file at the beginning /app/Http/routes.php
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community