force https for all envs

This commit is contained in:
Olivier Legat 2022-07-12 17:42:08 +02:00
parent e26f3afb69
commit 89fd1b8516

View file

@ -31,8 +31,8 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
\URL::forceScheme('https');
if (config('app.env') !== 'local') {
\URL::forceScheme('https');
setlocale(LC_TIME, config('app.locale') . "_" . strtoupper(config('app.locale')) . '.utf8');
}