
Fermin Perdomo
Full Stack Developer
© 2025 Fermin's Portfolio | All rights reserved.

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');
}
}