environment('production') || str_starts_with((string) config('app.url'), 'https://')) { URL::forceScheme('https'); } } }