FIX: Fixed issue with mixed content

This commit is contained in:
nikurasu 2022-01-02 17:44:58 +01:00
parent 3967e543a0
commit c07caafc91

View file

@ -2,6 +2,7 @@
namespace App\Providers; namespace App\Providers;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\ServiceProvider; use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider class AppServiceProvider extends ServiceProvider
@ -23,6 +24,8 @@ class AppServiceProvider extends ServiceProvider
*/ */
public function boot() public function boot()
{ {
// if(config('app.env') === 'production') {
URL::forceScheme('https');
}
} }
} }