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]);