ldc-com-app-bo/app/Providers/AppServiceProvider.php

32 lines
520 B
PHP
Raw Normal View History

2021-01-15 14:47:59 +01:00
<?php
namespace App\Providers;
use Illuminate\Http\Resources\Json\JsonResource;
2021-01-15 14:47:59 +01:00
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
2022-05-09 16:21:15 +02:00
url()->forceScheme('https');
2021-01-15 14:47:59 +01:00
JsonResource::withoutWrapping();
2021-01-15 14:47:59 +01:00
}
}