31 lines
543 B
PHP
31 lines
543 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Services\CallbackService;
|
|
use GuzzleHttp\Client;
|
|
use Illuminate\Support\ServiceProvider;
|
|
use Illuminate\Support\Facades\URL;
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register any application services.
|
|
*/
|
|
public function register(): void
|
|
{
|
|
if (config('app.env') === 'production') {
|
|
URL::forceScheme('https');
|
|
}
|
|
|
|
}
|
|
|
|
/**
|
|
* Bootstrap any application services.
|
|
*/
|
|
public function boot(): void
|
|
{
|
|
//
|
|
}
|
|
}
|