Read missing force https
This commit is contained in:
parent
752f202c62
commit
1fba092fc3
1 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ namespace App\Providers;
|
|||
use Illuminate\Http\Resources\Json\JsonResource;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Support\Facades\App;
|
||||
use Illuminate\Support\Facades\URL;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
|
|
@ -17,7 +18,7 @@ class AppServiceProvider extends ServiceProvider
|
|||
public function boot()
|
||||
{
|
||||
// * HTTPS FIX
|
||||
// URL::forceScheme('http');
|
||||
URL::forceScheme('https');
|
||||
// * HA PROXY FIX
|
||||
App::singleton('clientIp', function () {
|
||||
if (config('app.env') === 'local') {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue