Does not load the style well in Laravel in https

-1

I'm having a bit of a weird problem: when I open my normal domain without https it opens up all right:

But when I open it with https it's like it does not load the style at all:

What could it be? How can I solve it?

    
asked by Ignacio Copparoni 29.06.2018 в 15:04
source

1 answer

6

Solved, asset was changed ('/ css / blabla.css') by secure_asset

asset () The asset () function generates a URL for an asset using the current scheme of the request (HTTP or HTTPS):

$url = asset('img/photo.jpg');

secure_asset () The secure_asset function generates a URL for an asset using HTTPS:

 $url = secure_asset('img/photo.jpg');
    
answered by 29.06.2018 / 15:26
source