LAR_Maintenance/app/Providers/AppServiceProvider.php
JonatanRek 571df9a0a4 Fixes
2024-07-30 18:13:21 +02:00

27 lines
443 B
PHP

<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
//
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
if (config('app.env') != 'local'){
\URL::forceScheme('https');
}
}
}