ldc-mesbr-app/app/Providers/AppServiceProvider.php

33 lines
622 B
PHP
Raw Permalink Normal View History

2019-01-15 14:17:15 +01:00
<?php
namespace App\Providers;
2021-04-20 19:51:30 +02:00
use Illuminate\Http\Resources\Json\JsonResource;
2021-06-09 16:37:34 +02:00
use Illuminate\Support\Facades\URL;
2019-01-15 14:17:15 +01:00
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
2025-04-02 15:14:41 +00:00
URL::forceScheme('https');
$this->loadViewsFrom(storage_path('app/public/landings'), 'landings');
2021-04-20 11:16:34 +02:00
2021-04-20 19:51:30 +02:00
JsonResource::withoutWrapping();
2019-01-15 14:17:15 +01:00
}
/**
* Register any application services.
*
* @return void
*/
public function register()
{
}
}