- Fix HTTPS

This commit is contained in:
Vincent BRIDIER 2020-11-05 12:41:00 +01:00
parent 5375df0b57
commit 65c11b83c6

View file

@ -28,6 +28,10 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
if(config('app.env') !== 'local') {
\URL::forceScheme('https');
}
if (!app()->runningInConsole()) {
// On ramène le nom du jeu et le nom de la société sur toute les pages
$settingsGlobal = Settings::find(1)->select('name', 'company')->first();