sistem-akademik/app/Providers/AppServiceProvider.php
Triono Putra b5a2a47a76
All checks were successful
continuous-integration/drone/push Build is passing
oks
2025-05-28 21:03:37 +07:00

28 lines
483 B
PHP

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