retour en arriere

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