ajout du https forcé pour tous

This commit is contained in:
2026-03-30 22:02:51 +02:00
parent a73cd76d86
commit 454767aa58
+2 -4
View File
@@ -20,9 +20,7 @@ class AppServiceProvider extends ServiceProvider
*/ */
public function boot(): void public function boot(): void
{ {
// Forcer HTTPS en production et staging // Forcer HTTPS
if (!app()->environment('local')) { URL::forceScheme('https');
URL::forceScheme('https');
}
} }
} }