Load Blade assets with https in Laravel
I had a problem with asset function when it’s loaded resources through HTTP protocol when the website was using HTTPS, which is caused the “Mixed content” problem. To fix that you need to add \URL::forceScheme(‘https’) into your AppServiceProvider file. So mine looks like this (Laravel 5.4): <?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider … Read more