How to fix Mixed Content: https error on laravel apps

<?php use Illuminate\Support\Facades\URL; public function boot() { if($this->app->environment('production')) { // Default value should be false for local server URL::forceScheme('https'); } }

Login

To leave a reaction, you need to log in.

Comments

Michael Gough