added forcessl in prod

pull/26/head
Ondřej Hruška 7 years ago
parent 1ab7b7a3c4
commit c0f8aca54d
  1. 4
      app/Providers/AppServiceProvider.php

@ -13,7 +13,9 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
//
if($this->app->environment('production')) {
\URL::forceScheme('https');
}
}
/**

Loading…
Cancel
Save