update views and service provider for HTTPS requests

This commit is contained in:
Kwesi Banson Jnr
2026-07-17 14:55:56 +00:00
parent b71f5c7553
commit 4bf2ac98f8
5 changed files with 7 additions and 2 deletions

View File

@@ -19,6 +19,8 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot(): void
{
//
if (config('app.env') === 'production') {
URL::forceScheme('https');
}
}
}