fix minor change

This commit is contained in:
Lutfi Hakim 2026-04-12 11:42:53 +07:00
parent 85a319def4
commit 29df87d11a
1 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,7 @@
namespace App\Providers; namespace App\Providers;
use Illuminate\Support\ServiceProvider; use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\URL; // <-- 1. Tambahkan baris ini di sini use Illuminate\Support\Facades\URL;
class AppServiceProvider extends ServiceProvider class AppServiceProvider extends ServiceProvider
{ {
@ -20,7 +20,6 @@ public function register(): void
*/ */
public function boot(): void public function boot(): void
{ {
// <-- 2. Tambahkan blok kode ini
if (config('app.env') === 'production') { if (config('app.env') === 'production') {
URL::forceScheme('https'); URL::forceScheme('https');
} }