Always HTTPS

This commit is contained in:
Vincent BRIDIER 2022-05-09 16:21:15 +02:00
parent bf35af05ce
commit f3ed4ebf61
No known key found for this signature in database
GPG key ID: 8571BFA20420D512

View file

@ -24,9 +24,7 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
if (\App::environment() !== 'local') {
\URL::forceScheme('https');
}
url()->forceScheme('https');
JsonResource::withoutWrapping();
}