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