From 323ab09238f12c9ed73ce397e8070bb9bd34c66f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Gonz=C3=A1lez?= Date: Thu, 19 May 2022 15:30:11 -0300 Subject: [PATCH] Modifico web.php para que sirva todo el contenido en https cuando esta en produccion --- routes/web.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/routes/web.php b/routes/web.php index 3c3d0e0..9251cf0 100644 --- a/routes/web.php +++ b/routes/web.php @@ -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]);