forked from eatvio/eatvio-infra
init commit
This commit is contained in:
32
app/Providers/AppServiceProvider.php
Normal file
32
app/Providers/AppServiceProvider.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Illuminate\Contracts\Routing\UrlGenerator;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Register any application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Bootstrap any application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function boot(UrlGenerator $url)
|
||||
{
|
||||
if(env('ENFORCE_SSL', false)) {
|
||||
$url->forceScheme('https');
|
||||
}
|
||||
//
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user