added forcessl in prod

This commit is contained in:
2018-07-09 07:09:27 +02:00
parent 1ab7b7a3c4
commit c0f8aca54d
+3 -1
View File
@@ -13,7 +13,9 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
//
if($this->app->environment('production')) {
\URL::forceScheme('https');
}
}
/**