ajout du https forcé pour tous
This commit is contained in:
@@ -20,9 +20,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
// Forcer HTTPS en production et staging
|
||||
if (!app()->environment('local')) {
|
||||
// Forcer HTTPS
|
||||
URL::forceScheme('https');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user