vendredi 21 août 2020

Laravel forcing https in localhost

I have a Laravel app and I don't know why suddenly started to force https on my localhost. This is something I had never faced before.

This app runs with docker but even without running it with docker-compose but php artisan serve keeps on forcing https on my localhost. I even tried by adding

#app/Providers/AppServiceProvider.php

public function boot() 
{
   \URL::forceScheme('http');
   #.... rest of the code
}

but nothing. Any idea?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire