- Fix HTTPS
This commit is contained in:
parent
5375df0b57
commit
65c11b83c6
1 changed files with 4 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue