Update AppServiceProvider.php

This commit is contained in:
escix 2023-11-18 10:48:09 +11:00 committed by GitHub
parent a1519bf898
commit c9698c3dd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,8 @@ class AppServiceProvider extends ServiceProvider
*/ */
public function boot(): void public function boot(): void
{ {
if($this->app->environment('production')) {
\URL::forceScheme('https');
}
} }
} }