Remove https condition on local

This commit is contained in:
Jérémy Munsch 2022-06-17 10:16:55 +02:00
parent 33c138d075
commit f5bc5af8e4
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -28,9 +28,7 @@ class AppServiceProvider extends ServiceProvider
public function boot()
{
// LOCAL HTTPS FIX
if (config('app.env') !== 'local') {
URL::forceScheme('https');
}
URL::forceScheme('https');
// HA PROXY FIX
App::singleton('clientIp', function () {
if (config('app.env') === 'local') {