Skip to content

Commit

Permalink
Updated AppServiceProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdurozzaq committed Jan 7, 2021
1 parent e31b0f9 commit 903915e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public function register()
*/
public function boot()
{
//
// when APP_ENV is not local then set it to https true
If (env('APP_ENV') !== 'local') {
$this->app['request']->server->set('HTTPS', true);
}
}
}

0 comments on commit 903915e

Please sign in to comment.