ajout du https forcé pour tous
This commit is contained in:
@@ -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');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user