Compare commits

..

No commits in common. "30ea286214583d01a2babc5f838969979f92981a" and "2184c50a07abeaeff3d5d45a809981c22d56f29d" have entirely different histories.

1 changed files with 0 additions and 9 deletions

View File

@ -4,8 +4,6 @@ namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\URL;
class AppServiceProvider extends ServiceProvider
{
/**
@ -22,12 +20,5 @@ class AppServiceProvider extends ServiceProvider
public function boot(): void
{
//
if (
request()->isSecure() ||
request()->server('HTTP_X_FORWARDED_PROTO') === 'https'
) {
URL::forceScheme('https');
}
}
}