Modifico web.php para que sirva todo el contenido en https cuando esta en produccion

This commit is contained in:
Félix González 2022-05-19 15:30:11 -03:00
parent 3a2ffde0ab
commit 323ab09238
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ use Symfony\Component\HttpKernel\Exception\HttpException;
|
*/
if (App::environment('production')) {
URL::forceScheme('https');
}
Route::get('/', 'ProductoController@index')->name('productos');
Auth::routes(['register' => false]);