DEV Community

Discussion on: How to deploy a Laravel/Vue App to Heroku

Collapse
 
hazemkaied profile image
kaied hazem

How i can fix this problem please !!

Mixed Content: The page at 'managementp.herokuapp.com/' was loaded over HTTPS, but requested an insecure stylesheet 'managementp.herokuapp.com/css/app.css'. This request has been blocked; the content must be served over HTTPS.

Collapse
 
kessir profile image
Kessir Adjaho

You'll have to edit App\Http\Middleware\TrustProxies.php to look like this:

protected $proxies = '**';
protected $headers = Request::HEADER_X_FORWARDED_AWS_ELB;