forked from eatvio/eatvio-infra
analysators added
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Illuminate\Contracts\Routing\UrlGenerator;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
@@ -24,7 +24,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot(UrlGenerator $url)
|
||||
{
|
||||
if(env('ENFORCE_SSL', false)) {
|
||||
if (env('ENFORCE_SSL', false)) {
|
||||
$url->forceScheme('https');
|
||||
}
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user