force https in prod
This commit is contained in:
parent
c0f2211f58
commit
908d877cfb
1 changed files with 3 additions and 1 deletions
|
|
@ -21,6 +21,8 @@ class AppServiceProvider extends ServiceProvider
|
||||||
*/
|
*/
|
||||||
public function boot(): void
|
public function boot(): void
|
||||||
{
|
{
|
||||||
//
|
if ($this->app->environment('production')) {
|
||||||
|
\URL::forceScheme('https');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue