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